Skip to content

Comments

Use PAT_TOKEN to publish release#4444

Merged
k8s-ci-robot merged 1 commit intokubernetes-client:masterfrom
yue9944882:repo-release-cred
Feb 21, 2026
Merged

Use PAT_TOKEN to publish release#4444
k8s-ci-robot merged 1 commit intokubernetes-client:masterfrom
yue9944882:repo-release-cred

Conversation

@yue9944882
Copy link
Member

This PR fixes the permission issue in the repo's release workflow so that we don't need to create release manually.

Run ncipollo/release-action@v1
  with:
    token: ***
    tag: v25.0.0-legacy
    generateReleaseNotes: false
    immutableCreate: false
    makeLatest: legacy
    omitBody: false
    omitBodyDuringUpdate: false
    omitDraftDuringUpdate: false
    omitName: false
    omitNameDuringUpdate: false
    omitPrereleaseDuringUpdate: false
    removeArtifacts: false
    replacesArtifacts: true
    skipIfReleaseExists: false
    updateOnlyUnreleased: false
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.17-10/x64
    JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.17-10/x64
Error: Error 403: Resource not accessible by integration - https://docs.github.com/rest/releases/releases#create-a-release

Signed-off-by: Min Jin <minkimzz@amazon.com>
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 2, 2025
@brendandburns
Copy link
Contributor

Can we switch to using the gh tool as documented here:

https://github.com/ruby/ruby-dev-builder/blob/b0bf59a17c17985d4692243d4689c273f6348fa5/.github/workflows/build.yml#L177-L181

I'd rather remove reliance on 3rd party actions for software supply chain security reasons.

@brendandburns
Copy link
Contributor

/lgtm
/approve

I will address my comment via copilot.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 21, 2026
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, yue9944882

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [brendandburns,yue9944882]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 1c1dad0 into kubernetes-client:master Feb 21, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants