Skip to content

Commit

Permalink
ci: fix issue post-auto-fix pr not triggering workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Apr 17, 2024
1 parent 88af60e commit 3aa22d1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/fix-pr-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ jobs:
steps:

# Custom steps to fetch the PR and checkout the code:

- name: Checkout PR
- name: Checkout Airbyte
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Important that this is set so that CI checks are triggered again
# Without this we would be forever waiting on required checks to pass
token: ${{ secrets.GH_PAT_APPROVINGTON_OCTAVIA }}

- name: Checkout PR (${{ github.event.inputs.pr }})
uses: dawidd6/action-checkout-pr@v1
with:
Expand Down Expand Up @@ -129,7 +131,7 @@ jobs:
git add .
git commit -m "Auto-fix lint issues (unsafe)"
- name: Push changes
- name: Push changes to '(${{ steps.pr-info.outputs.repo }})'
if: steps.git-diff.outputs.changes == 'true' || steps.git-diff-2.outputs.changes == 'true'
run: |
git remote add contributor https://github.com/${{ steps.pr-info.outputs.repo }}.git
Expand Down

0 comments on commit 3aa22d1

Please sign in to comment.