Skip to content

Commit

Permalink
Exclude workflow call
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Aug 28, 2024
1 parent a0b6e1c commit 8878ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/holonix-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
draft: false
delete-branch: true
- name: Enable auto-merge
if: steps.cpr.outputs.pull-request-operation == 'created' && secrets.HRA_GITHUB_TOKEN != ''
if: steps.cpr.outputs.pull-request-operation == 'created' && github.event_name != 'workflow_call'
env:
GH_TOKEN: ${{ secrets.HRA_GITHUB_TOKEN }}
run: gh pr merge --squash --auto "${{ steps.cpr.outputs.pull-request-number }}"

0 comments on commit 8878ecb

Please sign in to comment.