Skip to content

Commit 5737e85

Browse files
authored
CI: Fix the "Resource not accessible by integration" error in the DVC Diff workflow (#4113)
1 parent 823403e commit 5737e85

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/dvc-diff.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ on:
1414
paths:
1515
- 'pygmt/tests/baseline/*.png.dvc'
1616

17-
permissions: {}
17+
permissions:
18+
contents: read
19+
pull-requests: write
1820

1921
jobs:
2022
dvc-diff:
@@ -55,7 +57,7 @@ jobs:
5557
# Report last updated at commit abcdef
5658
- name: Generate the image diff report
5759
env:
58-
repo_token: ${{ github.token }}
60+
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5961
PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
6062
DAGSHUB_TOKEN: ${{ secrets.DAGSHUB_TOKEN }}
6163
run: |

0 commit comments

Comments
 (0)