DynamicPageList3/.github/workflows/backport.yml
dependabot[bot] 7d316aa495
Bump sqren/backport-github-action from 8.9.3 to 8.9.7 (#208)
Bumps [sqren/backport-github-action](https://github.com/sqren/backport-github-action) from 8.9.3 to 8.9.7.
- [Release notes](https://github.com/sqren/backport-github-action/releases)
- [Commits](https://github.com/sqren/backport-github-action/compare/v8.9.3...v8.9.7)

---
updated-dependencies:
- dependency-name: sqren/backport-github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 11:31:19 -06:00

25 lines
643 B
YAML

name: Backport
on:
pull_request_target:
types:
- labeled
- closed
jobs:
backport:
name: Backport Action
runs-on: ubuntu-latest
if: |
github.event.pull_request.merged == true
&& contains(github.event.pull_request.labels.*.name, 'auto-backport')
&& (
(github.event.action == 'labeled' && github.event.label.name == 'auto-backport')
|| (github.event.action == 'closed')
)
steps:
- name: Backport
uses: sqren/backport-github-action@v8.9.7
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
auto_backport_label_prefix: backport-to-