Skip to content

Commit 235b9f6

Browse files
only adding the config file to stage
1 parent c76d673 commit 235b9f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/checkovScrapper.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Update Checkov Severity Mapping
22

33
on:
44
# 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
77

88
jobs:
99
update-severity-mapping:
@@ -57,6 +57,7 @@ jobs:
5757
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
5858
git config user.name 'github-actions[bot]'
5959
git checkout -b $BRANCH_NAME
60+
git add checkov_policy_severity.ts # Only add the necessary file
6061
git commit -m "Update Checkov severity mapping"
6162
6263
- name: Push changes
@@ -70,7 +71,7 @@ jobs:
7071
with:
7172
token: ${{ secrets.GITHUB_TOKEN }}
7273
commit-message: "Update Checkov severity mapping"
73-
branch: ${{ env.BRANCH_NAME }} # Use the environment variable correctly
74+
branch: ${{ env.BRANCH_NAME }}
7475
title: "Update Checkov severity mapping"
7576
body: "Automated update of Checkov severity mapping"
7677
labels: automated update

0 commit comments

Comments
 (0)