Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,20 @@ jobs:
contents: write

steps:
- name: Validate release token
env:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
if [ -z "$RELEASE_TOKEN" ]; then
echo "::error::RELEASE_TOKEN is required for git_ops.release so release commits and tags trigger follow-up workflows."
echo "::error::Configure RELEASE_TOKEN as a least-privilege service account PAT, or replace it with a GitHub App installation token."
exit 1
fi

- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0 # Need full history for git_ops
# Use PAT to bypass branch protection rules
token: ${{ secrets.RELEASE_TOKEN }}

- name: Setup Elixir
Expand Down