Skip to content

Commit 05bcbe0

Browse files
committed
update-CI: fix again: have use personal access token to modify workflow files
1 parent 71b882a commit 05bcbe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ jobs:
105105
- name: Commit changes back to PR branch
106106
uses: stefanzweifel/git-auto-commit-action@v5
107107
with:
108-
commit_message: "chore(ci): regenerate CI from tested-with PR"
108+
commit_message: "chore(ci): regenerate Haskell-CI from a tested-with PR"
109109
branch: ${{ github.head_ref }}
110-
# Limit to the typical files haskell-ci may edit
110+
token: ${{ secrets.WORKFLOW_TOKEN }} # PAT with workflow + contents/write
111111
file_pattern: |
112112
.github/workflows/**
113113
.haskell-ci

0 commit comments

Comments
 (0)