Skip to content

Commit

Permalink
Add guard for work item creation
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Aug 8, 2024
1 parent b2b3839 commit 8145884
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/alphabetise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
mv antora-playbook-sorted.yml antora-playbook.yml
- name: Create Pull Request
# Skip main in forks
if: "github.repository == 'quarkiverse/quarkiverse-docs' && endsWith(github.ref, '/main')"
run: |
git checkout -b alpha-${{ github.run_id }}
git add antora-playbook.yml
Expand Down

0 comments on commit 8145884

Please sign in to comment.