Skip to content

ci: Fix the repo-sync workflow - #7

Merged
samuelburnham merged 1 commit into
devfrom
ci/repo-sync-via-ci-workflows
Aug 24, 2026
Merged

ci: Fix the repo-sync workflow#7
samuelburnham merged 1 commit into
devfrom
ci/repo-sync-via-ci-workflows

Conversation

@samuelburnham

Copy link
Copy Markdown
Member

Replace the inline gh repo sync step with a call to argumentcomputer/ci-workflows/.github/workflows/repo-sync.yml, so this repo tracks the org's shared implementation rather than its own copy.

The shared workflow authenticates with a GitHub App installation token instead of secrets.GITHUB_TOKEN, which cannot carry the workflow scope and so refuses any upstream commit touching .github/workflows/**. This requires TOKEN_APP_ID and TOKEN_APP_PRIVATE_KEY to be available to the repository.

Replace the inline `gh repo sync` step with a call to
`argumentcomputer/ci-workflows/.github/workflows/repo-sync.yml`, so this
repo tracks the org's shared implementation rather than its own copy.

The shared workflow authenticates with a GitHub App installation token
instead of `secrets.GITHUB_TOKEN`, which cannot carry the `workflow`
scope and so refuses any upstream commit touching `.github/workflows/**`.
This requires `TOKEN_APP_ID` and `TOKEN_APP_PRIVATE_KEY` to be available
to the repository.
@samuelburnham
samuelburnham enabled auto-merge (squash) August 24, 2026 17:17
@samuelburnham
samuelburnham merged commit f09e1cf into dev Aug 24, 2026
5 checks passed
@samuelburnham
samuelburnham deleted the ci/repo-sync-via-ci-workflows branch August 24, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants