There was an error while loading. Please reload this page.
1 parent 86b1cee commit 99fb31dCopy full SHA for 99fb31d
.github/workflows/synchronize-snyk-variants.yml
@@ -7,6 +7,9 @@ on:
7
schedule:
8
- cron: '0 3 1 * *'
9
10
+permissions:
11
+ contents: write
12
+
13
env:
14
DESTINATION_BRANCH: auto/synchronize-snyk-variants
15
COMMIT_MESSAGE: 'fix: synchronize actions with the snyk-images repository'
@@ -20,6 +23,7 @@ jobs:
20
23
uses: actions/checkout@v4
21
24
with:
22
25
fetch-depth: 0
26
+ token: ${{ secrets.TEAM_CLI_BOT_GITHUB_PAT }}
27
28
- name: Configure Git user
29
run: |
@@ -77,6 +81,8 @@ jobs:
77
81
78
82
- name: Commit and push changes (if any)
79
83
if: steps.check_changes.outputs.continue == 'true'
84
+ env:
85
+ GITHUB_TOKEN: ${{ secrets.TEAM_CLI_BOT_GITHUB_PAT }}
80
86
87
git add .
88
git commit -S -m "${{ env.COMMIT_MESSAGE }}"
0 commit comments