Skip to content

Commit a95f10e

Browse files
fix: gh instead of evans
1 parent d10cbc9 commit a95f10e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/checkovScrapper.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ jobs:
6464
run: |
6565
git push origin HEAD
6666
67-
- name: Create Pull Request
67+
- name: Install GitHub CLI
6868
if: env.changed == 'true'
69-
uses: peter-evans/create-pull-request@v4
69+
uses: actions/setup-node@v4
7070
with:
71-
token: ${{ secrets.GITHUB_TOKEN }}
72-
commit-message: "Update Checkov severity mapping"
73-
branch: ${{ env.BRANCH_NAME }}
74-
title: "Update Checkov severity mapping"
75-
body: "Automated update of Checkov severity mapping"
76-
labels: automated update
77-
base: main # Specify the base branch
71+
node-version: '20'
72+
73+
- name: Create Pull Request
74+
if: env.changed == 'true'
75+
run: |
76+
gh auth login --with-token <<< ${{ secrets.GITHUB_TOKEN }}
77+
gh pr create --title "Update Checkov severity mapping" --body "Automated update of Checkov severity mapping" --base main --head $BRANCH_NAME --label automated update

0 commit comments

Comments
 (0)