Skip to content

Commit

Permalink
ci: token
Browse files Browse the repository at this point in the history
  • Loading branch information
teolemon committed Aug 16, 2024
1 parent a382a2e commit a17d17a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/on-demand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
env:
REPO: ${{ github.repository }}
PR_NO: ${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -32,7 +32,7 @@ jobs:
# We can't use GITHUB_TOKEN here because, github actions can't trigger actions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
# So this is a personal access token
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
# we need origin/main to have comparison linting work !
- name: Fetch origin/develop
run: |
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
env:
REPO: ${{ github.repository }}
PR_NO: ${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -93,7 +93,7 @@ jobs:
# We can't use GITHUB_TOKEN here because, github actions can't trigger actions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
# So this is a personal access token
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
# we need origin/main to have comparison linting work !
- name: Fetch origin/develop
run: |
Expand Down

0 comments on commit a17d17a

Please sign in to comment.