Skip to content

chore: replace all github.token/GITHUB_TOKEN with GitHub App token#1210

Merged
aidandaly24 merged 2 commits into
mainfrom
chore/replace-github-token-with-app-token
May 12, 2026
Merged

chore: replace all github.token/GITHUB_TOKEN with GitHub App token#1210
aidandaly24 merged 2 commits into
mainfrom
chore/replace-github-token-with-app-token

Conversation

@aidandaly24
Copy link
Copy Markdown
Contributor

Summary

Replace all remaining github.token and secrets.GITHUB_TOKEN usage with short-lived tokens from the agentcore-devx-automation GitHub App via actions/create-github-app-token@v1.

Updated workflows: sync-from-public, sync-preview, release-main-and-preview, release, pr-tarball, cleanup-pr-tarballs, pr-title, strands-command.

Secrets to Delete After Verification

None — these were using the built-in token, not stored secrets.

Test plan

  • Verify APP_ID variable and APP_PRIVATE_KEY secret are set
  • Merge and confirm workflows run successfully

Replaces all occurrences of \${{ github.token }} and \${{ secrets.GITHUB_TOKEN }}
across .github/workflows/ with a per-job GitHub App token generated via
actions/create-github-app-token@v1 using vars.APP_ID and secrets.APP_PRIVATE_KEY.
@aidandaly24 aidandaly24 requested a review from a team May 12, 2026 17:23
@github-actions github-actions Bot added the size/s PR size: S label May 12, 2026
@github-actions github-actions Bot added the agentcore-harness-reviewing AgentCore Harness review in progress label May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.13.1.tgz

How to install

npm install https://github.com/aws/agentcore-cli/releases/download/pr-1210-tarball/aws-agentcore-0.13.1.tgz

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 43.33% 9083 / 20958
🔵 Statements 42.61% 9646 / 22636
🔵 Functions 40.11% 1569 / 3911
🔵 Branches 40.14% 5862 / 14601
Generated in workflow #2833 for commit 0e6d577 by the Vitest Coverage Report Action

@github-actions github-actions Bot removed the agentcore-harness-reviewing AgentCore Harness review in progress label May 12, 2026
notgitika
notgitika previously approved these changes May 12, 2026
Comment thread .github/workflows/pr-title.yml
notgitika added a commit that referenced this pull request May 12, 2026
Aligns with the pattern in PR #1210 and ci-failure-issue.yml.
@aidandaly24 aidandaly24 merged commit 6dc4b7f into main May 12, 2026
13 checks passed
@aidandaly24 aidandaly24 deleted the chore/replace-github-token-with-app-token branch May 12, 2026 18:13
@github-actions github-actions Bot added size/s PR size: S and removed size/s PR size: S labels May 12, 2026
notgitika added a commit that referenced this pull request May 12, 2026
Aligns with the pattern in PR #1210 and ci-failure-issue.yml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants