diff --git a/.github/workflows/agentic_v2_builder.yml b/.github/workflows/agentic_v2_builder.yml index 1919bce3..8722e8cf 100644 --- a/.github/workflows/agentic_v2_builder.yml +++ b/.github/workflows/agentic_v2_builder.yml @@ -25,7 +25,6 @@ on: permissions: contents: write pull-requests: write - workflows: write concurrency: group: v2-builder-${{ github.ref }} @@ -91,6 +90,11 @@ jobs: python src/readme_updater.py python src/safety_readme.py + - name: Safety Reset for Workflow Files (Security) + run: | + # Prevent security rejection by ensuring no workflow YAMLs are part of the PR + git checkout HEAD -- .github/workflows/ + - name: Create Pull Request for V2 Elite Update id: cpr uses: peter-evans/create-pull-request@v8