Skip to content

fix: release tag push#137

Merged
szegedi merged 1 commit into
mainfrom
fix/release-tag-push
Jun 22, 2026
Merged

fix: release tag push#137
szegedi merged 1 commit into
mainfrom
fix/release-tag-push

Conversation

@szegedi

@szegedi szegedi commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

The release workflow's tag push was rejected by the tag ruleset because actions/checkout persisted GITHUB_TOKEN credentials, which took precedence over the dd-octo-sts token in the explicit push URL.

Changes

  • Add DataDog/dd-octo-sts-action step to obtain a token with tag-push permission
  • Add .github/chainguard/self.github.release.push-tags.sts.yaml policy file
  • Set persist-credentials: false on checkout so the GITHUB_TOKEN doesn't shadow the octo-sts token
  • Downgrade contents permission from write to read

Mirrors the fix applied in DataDog/pprof-format#65 and DataDog/pprof-nodejs@1417470

The release workflow's tag push was rejected by the tag ruleset because
actions/checkout persisted GITHUB_TOKEN credentials, which took precedence
over the dd-octo-sts token in the explicit push URL. Drop the persisted
credentials and downgrade contents permission to read.

Also add the dd-octo-sts policy file.
@szegedi szegedi requested review from a team as code owners June 22, 2026 15:22
@szegedi szegedi requested a review from rochdev June 22, 2026 15:28
@github-actions

Copy link
Copy Markdown

Overall package size

Self size: 28.01 MB
Deduped: 28.01 MB
No deduping: 28.01 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------|

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@szegedi szegedi merged commit 333217d into main Jun 22, 2026
46 checks passed
@szegedi szegedi deleted the fix/release-tag-push branch June 22, 2026 15:52
szegedi added a commit that referenced this pull request Jun 22, 2026
The release workflow's tag push was rejected by the tag ruleset because
actions/checkout persisted GITHUB_TOKEN credentials, which took precedence
over the dd-octo-sts token in the explicit push URL. Drop the persisted
credentials and downgrade contents permission to read.

Also add the dd-octo-sts policy file.
@szegedi szegedi mentioned this pull request Jun 22, 2026
szegedi added a commit that referenced this pull request Jun 22, 2026
The release workflow's tag push was rejected by the tag ruleset because
actions/checkout persisted GITHUB_TOKEN credentials, which took precedence
over the dd-octo-sts token in the explicit push URL. Drop the persisted
credentials and downgrade contents permission to read.

Also add the dd-octo-sts policy file.
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