Skip to content

Commit 82d77d3

Browse files
committed
update-CI: fix the token usage
1 parent 0580bce commit 82d77d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-haskell-ci-on-tested-with-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
with:
6666
# Checkout the PR head branch so we can commit back to it
6767
ref: ${{ github.head_ref }}
68+
token: ${{ secrets.WORKFLOW_TOKEN }} # PAT with workflow + contents/write
6869

6970
# Haskell-specific: install haskell-ci from source and regenerate workflows
7071
- name: Set up Haskell toolchain
@@ -107,7 +108,6 @@ jobs:
107108
with:
108109
commit_message: "chore(ci): regenerate Haskell-CI from a tested-with PR"
109110
branch: ${{ github.head_ref }}
110-
token: ${{ secrets.WORKFLOW_TOKEN }} # PAT with workflow + contents/write
111111
file_pattern: |
112112
.github/workflows/**
113113
.haskell-ci

0 commit comments

Comments
 (0)