Skip to content

Commit

Permalink
Try with PAT and contents write
Browse files Browse the repository at this point in the history
  • Loading branch information
leehart committed Oct 1, 2023
1 parent 568d628 commit d7d6ef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/add_tagged_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ jobs:
- name: Push new branch upstream 🚀
run: git push --set-upstream origin "$BRANCH_NAME"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_PR: ${{ secrets.GH_PR }}

# Note: To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN environment variable.
- name: Create pull request 🦟
run: gh pr create -B main -H "$BRANCH_NAME" --title "Merge $BRANCH_NAME into main" --body 'Automated pull request from GitHub Actions workflow. **Note, you will still need to update `docs/source/extra/switcher.json` accordingly.**'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_PR }}

0 comments on commit d7d6ef5

Please sign in to comment.