Skip to content

Commit

Permalink
Merge pull request #65 from korthout/patch-1
Browse files Browse the repository at this point in the history
Bump backport-action to v1 major release
  • Loading branch information
jbw976 authored Feb 15, 2023
2 parents 1338e6a + e7041f8 commit bdec4ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,14 @@ jobs:
# one. Many do not support merge commits, or do not support pull requests with
# more than one commit. This one does. It also handily links backport PRs with
# new PRs, and provides commentary and instructions when it can't backport.
# The main gotchas with this action are that it _only_ supports merge commits,
# and that PRs _must_ be labelled before they're merged to trigger a backport.
# The main gotcha with this action is that PRs _must_ be labelled before they're
# merged to trigger a backport.
open-pr:
runs-on: ubuntu-22.04
if: github.event.pull_request.merged
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
uses: actions/checkout@v3

- name: Open Backport PR
uses: zeebe-io/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_workspace: ${{ github.workspace }}
version: v0.0.4
uses: korthout/backport-action@v1
10 changes: 2 additions & 8 deletions .github/workflows/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,7 @@ jobs:
permission-level: write

- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
uses: actions/checkout@v3

- name: Open Backport PR
uses: zeebe-io/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_workspace: ${{ github.workspace }}
version: v0.0.4
uses: korthout/backport-action@v1

0 comments on commit bdec4ce

Please sign in to comment.