diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 7e678a4..1ee4208 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -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/backport-action@v0.0.4 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - github_workspace: ${{ github.workspace }} - version: v0.0.4 + uses: korthout/backport-action@v1 diff --git a/.github/workflows/commands.yml b/.github/workflows/commands.yml index 96a24a0..df101a8 100644 --- a/.github/workflows/commands.yml +++ b/.github/workflows/commands.yml @@ -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/backport-action@v0.0.4 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - github_workspace: ${{ github.workspace }} - version: v0.0.4 + uses: korthout/backport-action@v1