Skip to content

Commit

Permalink
Don't try to update protected branches
Browse files Browse the repository at this point in the history
  • Loading branch information
webbnh committed Aug 30, 2024
1 parent 4635c68 commit 20bfdd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
echo "README_DIFF=$(cat arcaflow-docsgen.diff | wc -l)" >> $GITHUB_ENV
- name: Update README.md if necessary
if: env.README_DIFF != 0
if: env.README_DIFF != 0 && !github.ref_protected
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_EMAIL: [email protected]
Expand Down

0 comments on commit 20bfdd8

Please sign in to comment.