File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Update Checkov Severity Mapping
2
2
3
3
on :
4
4
# schedule:
5
- # - cron: "0 0 * * 0" # Runs every Sunday at midnight UTC
6
- workflow_dispatch : # Allows manual trigger from the GitHub UI
5
+ # - cron: "0 0 * * 0" # Runs every Sunday at midnight UTC
6
+ workflow_dispatch : # Allows manual trigger from the GitHub UI
7
7
8
8
jobs :
9
9
update-severity-mapping :
57
57
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
58
58
git config user.name 'github-actions[bot]'
59
59
git checkout -b $BRANCH_NAME
60
+ git add checkov_policy_severity.ts # Only add the necessary file
60
61
git commit -m "Update Checkov severity mapping"
61
62
62
63
- name : Push changes
70
71
with :
71
72
token : ${{ secrets.GITHUB_TOKEN }}
72
73
commit-message : " Update Checkov severity mapping"
73
- branch : ${{ env.BRANCH_NAME }} # Use the environment variable correctly
74
+ branch : ${{ env.BRANCH_NAME }}
74
75
title : " Update Checkov severity mapping"
75
76
body : " Automated update of Checkov severity mapping"
76
77
labels : automated update
You can’t perform that action at this time.
0 commit comments