File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 41
41
- name : Checkout the repository
42
42
uses : actions/checkout@v4
43
43
with :
44
- submodules : recursive
45
44
token : ${{ secrets.GH_CLI_TOKEN }}
46
45
- name : Install Python
47
46
uses : actions/setup-python@v5
95
94
96
95
- name : Commit and push changes
97
96
run : |
98
- git config --global user.email "[email protected] "
99
- git config --global user.name "codeflare-machine-account "
97
+ git config --global user.email "${{ vars.CODEFLARE_MACHINE_EMAIL }} "
98
+ git config --global user.name "${{ vars.CODEFLARE_MACHINE_NAME }} "
100
99
git checkout -b $PR_BRANCH_NAME
101
100
git commit -am "Update snyk-security.yaml"
102
101
git push --set-upstream origin "$PR_BRANCH_NAME"
Original file line number Diff line number Diff line change 10
10
steps :
11
11
- name : Checkout code
12
12
uses : actions/checkout@v4
13
+
14
+ - name : Setup Node.js to cache dependencies
15
+ uses : actions/setup-node@v4
13
16
with :
14
- submodules : recursive
17
+ node-version : 20
18
+ cache : ' npm'
15
19
16
20
- name : Install Snyk CLI
17
21
run : npm install -g snyk
You can’t perform that action at this time.
0 commit comments