Skip to content

Commit 44f44d3

Browse files
authored
CI: Consistently use github.token instead of secrets.GITHUB_TOKEN (#3189)
1 parent 11a1bc1 commit 44f44d3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/check-links.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ jobs:
7272
title="Link Checker Report on ${{ steps.date.outputs.date }}"
7373
gh issue create --title "$title" --body-file ./lychee/out.md
7474
env:
75-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
75+
GH_TOKEN: ${{ github.token }}

.github/workflows/dvc-diff.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# Report last updated at commit abcdef
5353
- name: Generate the image diff report
5454
env:
55-
repo_token: ${{ secrets.GITHUB_TOKEN }}
55+
repo_token: ${{ github.token }}
5656
run: |
5757
echo -e "## Summary of changed images\n" > report.md
5858
echo -e "This is an auto-generated report of images that have changed on the DVC remote\n" >> report.md

.github/workflows/release-drafter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
2424
config-name: release-drafter.yml
2525
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
GITHUB_TOKEN: ${{ github.token }}

.github/workflows/slash-command-dispatch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Slash Command Dispatch
1717
uses: peter-evans/slash-command-dispatch@v4
1818
with:
19-
token: ${{ secrets.GITHUB_TOKEN }}
19+
token: ${{ githubu.token }}
2020
commands: |
2121
format
2222
issue-type: pull-request

0 commit comments

Comments
 (0)