Skip to content

Commit

Permalink
Add upstream to github command
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Aug 8, 2024
1 parent 63ca391 commit baa7c9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/alphabetise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
# Skip main in forks
if: "github.repository == 'quarkiverse/quarkiverse-docs' && endsWith(github.ref, '/main')"
run: |
git checkout -b alpha-${{ github.run_id }}
git checkout -b sorting-${{ github.run_id }}
git add antora-playbook.yml
git commit -m "Automatic alphabetisation"
git push
git push --set-upstream origin sorting-${{ github.run_id }}
gh pr create --title "Automatic alphabetisation" --fill --repo $GITHUB_REPOSITORY
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit baa7c9f

Please sign in to comment.