File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # managed-by: opsoasis-repo-sync 3aa3e9d
2+ name : Poseidon Review
3+
4+ on :
5+ pull_request :
6+ types : [opened, synchronize]
7+
8+ jobs :
9+ review :
10+ # Dependabot PRs run with a restricted token that can't resolve the private
11+ # poseidon-actions repo, so the job fails at setup. Skip them entirely.
12+ if : ${{ github.actor != 'dependabot[bot]' }}
13+ runs-on : ubuntu-latest
14+ timeout-minutes : 20
15+ concurrency :
16+ group : poseidon-review-${{ github.event.pull_request.number }}
17+ cancel-in-progress : true
18+ permissions :
19+ contents : read
20+ pull-requests : write
21+ # issues:/actions: write are used only by the review-fix auto-chain on
22+ # Poseidon-authored PRs (self-gated by the poseidon-pr label), which
23+ # never exist on review-only repos.
24+ issues : write
25+ actions : write
26+ # claude-code-action exchanges an OIDC token for its GitHub App token.
27+ id-token : write
28+ steps :
29+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
30+ with :
31+ fetch-depth : 0
32+ persist-credentials : false
33+
34+ # @trunk is intentional: the Poseidon actions are continuously delivered from the hub.
35+ - uses : a8cteam51/poseidon-actions/pr-review@trunk # zizmor: ignore[unpinned-uses]
36+ with :
37+ anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
38+ github_token : ${{ github.token }}
39+ fix_workflow : poseidon.yaml
You can’t perform that action at this time.
0 commit comments