Skip to content

Commit a4cc856

Browse files
committed
chore(workflows): update permissions and commit user details in QA workflow
- Adjust permissions for contents, pull-requests, issues, and security-events to 'write' in the QA workflow configuration. - Update commit user details to ensure proper attribution during automated commits.
1 parent 2ddbd46 commit a4cc856

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/qa.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
(github.event_name == 'pull_request' && github.event.action != 'closed') ||
3434
github.event_name == 'pull_request_review'
3535
permissions:
36-
contents: read
36+
contents: write
3737
pull-requests: write
3838
issues: write
3939
security-events: write
@@ -136,9 +136,10 @@ jobs:
136136
commit_message: "chore(release): sync generated assets [skip ci]"
137137
branch: main
138138
file_pattern: 'package.json **/package.json charts/**/Chart.yaml charts/**/README.md README.md'
139-
github_token: ${{ env.PAT_TOKEN }}
140-
commit_author_name: 'SettleMint Release Bot'
141-
commit_author_email: 'support@settlemint.com'
139+
commit_user_name: 'SettleMint Release Bot'
140+
commit_user_email: 'support@settlemint.com'
141+
env:
142+
GITHUB_TOKEN: ${{ env.PAT_TOKEN }}
142143

143144
- name: Docker meta
144145
if: github.event_name == 'pull_request' || github.event_name == 'push'

0 commit comments

Comments
 (0)