fix(deps): update dependency org.apache.httpcomponents.core5:httpcore5 to v5.3.3 (main) #4004
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Backport merged pull request | |
on: | |
pull_request_target: | |
types: [ closed ] | |
issue_comment: | |
types: [ created ] | |
permissions: | |
contents: write # so it can comment | |
pull-requests: write # so it can create pull requests | |
jobs: | |
backport: | |
name: Backport pull request | |
runs-on: ubuntu-latest | |
# Only run when pull request is merged | |
# or when a comment containing `/backport` is created by someone other than the | |
# https://github.com/backport-action bot user (user id: 97796249) | |
if: > | |
( | |
github.event_name == 'pull_request_target' && | |
github.event.pull_request.merged | |
) || ( | |
github.event_name == 'issue_comment' && | |
github.event.issue.pull_request && | |
github.event.comment.user.id != 97796249 && | |
startsWith(github.event.comment.body, '/backport') | |
) | |
steps: | |
- name: Import Secrets | |
id: vault-secrets | |
uses: hashicorp/vault-action@v3.0.0 | |
with: | |
url: ${{ secrets.VAULT_ADDR }} | |
method: approle | |
roleId: ${{ secrets.VAULT_ROLE_ID }} | |
secretId: ${{ secrets.VAULT_SECRET_ID}} | |
secrets: | | |
secret/data/products/connectors/ci/common GITHUB_APP_ID; | |
secret/data/products/connectors/ci/common GITHUB_APP_PRIVATE_KEY; | |
- name: Generate a GitHub token for connectors | |
id: app-token | |
uses: actions/create-github-app-token@v1 | |
with: | |
app-id: ${{ steps.vault-secrets.outputs.GITHUB_APP_ID }} | |
private-key: ${{ steps.vault-secrets.outputs.GITHUB_APP_PRIVATE_KEY }} | |
- uses: actions/checkout@v4 | |
with: | |
# PR created by GitHub Action bot will not trigger CI checks | |
token: ${{ steps.app-token.outputs.token }} | |
- name: Create backport pull requests | |
uses: korthout/backport-action@v3 | |
with: | |
github_token: ${{ steps.app-token.outputs.token }} | |
experimental: > | |
{ | |
"detect_merge_method": true | |
} |