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
9 changes: 8 additions & 1 deletion .github/workflows/update-dates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@ jobs:
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
# Use a PAT so the push runs as a bypass-eligible actor.
# GITHUB_TOKEN authenticates as github-actions[bot] (Write role),
# which the org-level `agent-block` ruleset rejects when pushing
# to branches outside refs/heads/edenai-assistant/**. The PAT
# must belong to a user/app with Triage, Maintain, or Admin role
# (the ruleset's bypass list). Falls back to GITHUB_TOKEN so the
# rest of the workflow still runs when the secret isn't set.
token: ${{ secrets.DOCS_BOT_PAT || secrets.GITHUB_TOKEN }}

- uses: actions/setup-python@v5
with:
Expand Down
Loading