Skip to content

Commit

Permalink
docs: 📝 (#422) add missing GITHUB_TOKEN permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAugustin committed Dec 30, 2023
1 parent 68fbba6 commit 8b00619
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.CUSTOM_GITHUB_PAT }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v1.1.8
permissions:
content: write
pull-requests: write
with:
github_token: ${{ secrets.CUSTOM_GITHUB_PAT }}
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: <owner/repo>
upstream_branch: <target_branch> # defaults to main
pr_labels: <label1>,<label2>[,...] # optional, no default
Expand Down Expand Up @@ -155,12 +158,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.CUSTOM_GITHUB_PAT }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: actions-template-sync
uses: AndreasAugustin/actions-template-sync@v1.1.8
permissions:
content: write
pull-requests: write
with:
github_token: ${{ secrets.CUSTOM_GITHUB_PAT }}
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: ${{ secrets.SOURCE_REPO_PATH }} # <owner/repo>, should be within secrets
upstream_branch: ${{ secrets.TARGET_BRANCH }} #<target_branch> # defaults to main
pr_labels: <label1>,<label2>[,...] # optional, no default
Expand Down

0 comments on commit 8b00619

Please sign in to comment.