Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(audit-autofixer): perms

mogery60adad74b1c5
diff --git a/.github/workflows/npm-audit-claude-remediation.yml b/.github/workflows/npm-audit-claude-remediation.yml
index f148c5dcf..1fc876cd5 100644
--- a/.github/workflows/npm-audit-claude-remediation.yml
+++ b/.github/workflows/npm-audit-claude-remediation.yml
@@ -5,10 +5,12 @@ on:
workflows: ["Audit NPM Packages"]
types:
- completed
+ workflow_dispatch:
permissions:
actions: read
contents: write
+ id-token: write
issues: write
pull-requests: write
@@ -18,7 +20,7 @@ concurrency:
jobs:
remediate:
- if: ${{ github.event.workflow_run.conclusion == 'failure' }}
+ if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'failure' }}
runs-on: blacksmith-2vcpu-ubuntu-2404
timeout-minutes: 60