mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2026-07-28 14:47:18 -07:00
f
This commit is contained in:
@@ -26,6 +26,8 @@ jobs:
|
||||
run: python3 build_lists/update_windows_version_defs.py
|
||||
|
||||
- name: Create pull request
|
||||
id: create_pr
|
||||
continue-on-error: true
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
with:
|
||||
commit-message: "chore(winpeas): update windows version vulnerability definitions"
|
||||
@@ -33,3 +35,8 @@ jobs:
|
||||
body: "Automated update of `build_lists/windows_version_exploits.json` from latest WES-NG definitions."
|
||||
branch: "bot/update-windows-version-definitions"
|
||||
delete-branch: true
|
||||
|
||||
- name: Warn when PR creation is blocked by repo policy
|
||||
if: steps.create_pr.outcome == 'failure'
|
||||
run: |
|
||||
echo "::warning::Branch update was pushed, but automatic PR creation failed. If logs show 'GitHub Actions is not permitted to create or approve pull requests', enable that repository setting or use a PAT token for PR creation."
|
||||
|
||||
Reference in New Issue
Block a user