Skip to content

PR Actions Detective #2025

PR Actions Detective

PR Actions Detective #2025

name: PR Actions Detective
on:
workflow_run:
workflows: ["check-default", "pre-commit", "golangci-lint", "check-docs", "check-dev-tools"]
types: [completed]
permissions:
actions: read
contents: read
issues: write
pull-requests: read
jobs:
run:

Check failure on line 14 in .github/workflows/trigger-pr-actions-detective.yml

View workflow run for this annotation

GitHub Actions / PR Actions Detective

Invalid workflow file

The workflow is not valid. .github/workflows/trigger-pr-actions-detective.yml (Line: 14, Col: 3): Error calling workflow 'elastic/ai-github-actions/.github/workflows/gh-aw-pr-actions-detective.lock.yml@v0'. The nested job 'conclusion' is requesting 'pull-requests: write', but is only allowed 'pull-requests: read'. .github/workflows/trigger-pr-actions-detective.yml (Line: 14, Col: 3): Error calling workflow 'elastic/ai-github-actions/.github/workflows/gh-aw-pr-actions-detective.lock.yml@v0'. The nested job 'safe_outputs' is requesting 'pull-requests: write', but is only allowed 'pull-requests: read'.
uses: elastic/ai-github-actions/.github/workflows/gh-aw-pr-actions-detective.lock.yml@v0
with:
setup-commands: |
sudo apt-get update && sudo apt-get install -y libpcap-dev librpm-dev python3-venv
make mage
secrets:
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}