mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2026-03-12 21:23:13 -07:00
f
This commit is contained in:
@@ -140,6 +140,8 @@ jobs:
|
||||
git checkout -- .github/workflows || true
|
||||
git clean -fdx -- .github/workflows || true
|
||||
git reset -- chack_failure_summary.txt chack_prompt.txt chack_failed_steps_logs.txt
|
||||
# Never include generated regex list updates in automated fixer commits.
|
||||
git reset -- build_lists/regexes.yaml || true
|
||||
if git diff --cached --name-only | grep -q '^.github/workflows/'; then
|
||||
echo "Workflow-file changes are still staged; skipping push without workflows permission."
|
||||
echo "pushed=false" >> "$GITHUB_OUTPUT"
|
||||
@@ -163,7 +165,8 @@ jobs:
|
||||
':(exclude).github/workflows/**' \
|
||||
':(exclude)chack_failure_summary.txt' \
|
||||
':(exclude)chack_prompt.txt' \
|
||||
':(exclude)chack_failed_steps_logs.txt' > /tmp/chack_nonworkflow.patch
|
||||
':(exclude)chack_failed_steps_logs.txt' \
|
||||
':(exclude)build_lists/regexes.yaml' > /tmp/chack_nonworkflow.patch
|
||||
if [ ! -s /tmp/chack_nonworkflow.patch ]; then
|
||||
echo "Only workflow-file changes were produced; skipping push."
|
||||
echo "pushed=false" >> "$GITHUB_OUTPUT"
|
||||
|
||||
Reference in New Issue
Block a user