fix: rebase-dependabot.sh missing origin/ prefix and update Dependabot docs #194
Workflow file for this run
This file contains hidden or 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 | |
| on: | |
| pull_request_target: | |
| types: [closed] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: backport-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| backport: | |
| name: Backport | |
| permissions: | |
| # contents:write + pull-requests:write required by backport-action to create | |
| # backport PRs. Scoped to job level. | |
| contents: write | |
| pull-requests: write | |
| runs-on: ${{ vars.RUNNER || 'ubuntu-latest' }} | |
| timeout-minutes: 10 | |
| if: > | |
| github.event.pull_request.merged == true && | |
| contains(toJSON(github.event.pull_request.labels), 'backport/') | |
| steps: | |
| - uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - uses: korthout/backport-action@66065406958f46e82238fd59546f5a99e69e22aa # v4.5.2 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| label_pattern: "^backport/(.+)$" | |
| pull_description: | | |
| Backport of #${pull_number} to `${target_branch}`. | |
| Original PR: #${pull_number} | |
| --- | |
| ${pull_description} |