Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions .github/workflows/kernel-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ name: Nightly kernel maintenance
# commits that touch .github/workflows/ (every rebase rewrites the ones
# that add them), and pull requests it opens do not trigger other
# workflows.
# vars.ANTHROPIC_FEDERATION_RULE_ID, ANTHROPIC_ORGANIZATION_ID,
# ANTHROPIC_SERVICE_ACCOUNT_ID, ANTHROPIC_WORKSPACE_ID
# Organization-wide workload identity federation for the Claude API. The
# rule must accept this workflow's OIDC subject (a scheduled run on
# edera/6.18-lts), which a rule written for pull_request events will
# not.
# vars.REBASE_FEDERATION_RULE_ID
# The workload identity federation rule for the rebase. It must accept
# this workflow's OIDC subject (a scheduled or dispatched run).
# vars.ANTHROPIC_ORGANIZATION_ID, ANTHROPIC_SERVICE_ACCOUNT_ID,
# ANTHROPIC_WORKSPACE_ID
# The rest of the Claude API federation identity.

on:
schedule:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/upstream-rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
- name: Normalize identifiers
id: ids
env:
RULE: ${{ vars.ANTHROPIC_FEDERATION_RULE_ID }}
RULE: ${{ vars.REBASE_FEDERATION_RULE_ID }}
ORG: ${{ vars.ANTHROPIC_ORGANIZATION_ID }}
SVC: ${{ vars.ANTHROPIC_SERVICE_ACCOUNT_ID }}
WS: ${{ vars.ANTHROPIC_WORKSPACE_ID }}
Expand All @@ -211,10 +211,10 @@ jobs:
# An unset variable otherwise surfaces as an opaque API failure a
# second into the model step, with nothing in the log to say why.
missing=0
for n in FEDERATION_RULE_ID:RULE ORGANIZATION_ID:ORG SERVICE_ACCOUNT_ID:SVC WORKSPACE_ID:WS; do
for n in REBASE_FEDERATION_RULE_ID:RULE ANTHROPIC_ORGANIZATION_ID:ORG ANTHROPIC_SERVICE_ACCOUNT_ID:SVC ANTHROPIC_WORKSPACE_ID:WS; do
eval "v=\$${n#*:}"
if [ -z "$(strip "$v")" ]; then
echo "::error::vars.ANTHROPIC_${n%%:*} is empty or not visible to this repository."
echo "::error::vars.${n%%:*} is empty or not visible to this repository."
missing=1
fi
done
Expand Down
Loading