Skip to content

Use ephemeral token for check-aw-updates workflow#60

Merged
theletterf merged 1 commit into
mainfrom
fix-check-aw-updates-token
Apr 8, 2026
Merged

Use ephemeral token for check-aw-updates workflow#60
theletterf merged 1 commit into
mainfrom
fix-check-aw-updates-token

Conversation

@theletterf
Copy link
Copy Markdown
Member

Summary

  • Replaces actions/create-github-app-token with Elastic's ephemeral GitHub tokens solution (Vault OIDC via elastic/oblt-actions/github/create-token)
  • Uses token-policy-8749eaab83f2 created in elastic/catalog-info#3574
  • Token policy grants contents:write, workflows:write, pull_requests:write on docs-actions, docs-content, and docs-content-internal
  • No stored secrets needed — authentication is via GitHub Actions OIDC

Test plan

  • Wait ~25 min for Vault realizer to process the token policy
  • Trigger workflow manually via dispatch
  • Verify the ephemeral token is created and the workflow can push to .github/workflows/

🤖 Generated with Claude Code

Replace actions/create-github-app-token with Elastic's ephemeral
GitHub tokens solution (Vault OIDC). Uses token-policy-8749eaab83f2
which grants contents:write, workflows:write, and pull_requests:write
on docs-actions, docs-content, and docs-content-internal.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@theletterf theletterf self-assigned this Apr 7, 2026
@theletterf theletterf merged commit 8d4a0ac into main Apr 8, 2026
9 of 14 checks passed
@theletterf theletterf deleted the fix-check-aw-updates-token branch April 8, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants