Skip to content

Update coverage.yml to use OIDC for Codecov#8474

Open
cometkim wants to merge 1 commit into
masterfrom
codecov-oidc
Open

Update coverage.yml to use OIDC for Codecov#8474
cometkim wants to merge 1 commit into
masterfrom
codecov-oidc

Conversation

@cometkim

Copy link
Copy Markdown
Member

Always prefer the tokenless method if available. There are no needs to use permanent token here for public repo. It supports verifying repo via OIDC.

Always prefer the tokenless method if available. There are no needs to use permanent token here for public repo. It supports verifying repo via OIDC.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 55e02f8fdc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +22 to +23
permissions:
id-token: write

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep actions: write for cache eviction

When this job runs on push to master, adding a job-level permissions block with only id-token: write removes the previous GITHUB_TOKEN access for the later gh actions-cache delete step. GitHub's workflow syntax says unspecified permissions are set to none, and the Actions cache delete endpoint requires Actions repository permission write; without actions: write the delete is rejected (then hidden by || echo "not exist"), so the following actions/cache/save cannot refresh the master coverage cache under the same key.

Useful? React with 👍 / 👎.

@pkg-pr-new

pkg-pr-new Bot commented Jun 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript@8474

@rescript/darwin-arm64

npm i https://pkg.pr.new/@rescript/darwin-arm64@8474

@rescript/darwin-x64

npm i https://pkg.pr.new/@rescript/darwin-x64@8474

@rescript/linux-arm64

npm i https://pkg.pr.new/@rescript/linux-arm64@8474

@rescript/linux-x64

npm i https://pkg.pr.new/@rescript/linux-x64@8474

@rescript/runtime

npm i https://pkg.pr.new/@rescript/runtime@8474

@rescript/win32-x64

npm i https://pkg.pr.new/@rescript/win32-x64@8474

commit: 55e02f8

@github-actions

Copy link
Copy Markdown

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.

1 participant