-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(CI): fix the workflow that comments the docker image on the commit #12693
Conversation
d229c80
to
0f3556e
Compare
0f3556e
to
24f5cf6
Compare
${{ secrets.GITHUB_TOKEN }}
24f5cf6
to
bb340c4
Compare
bb340c4
to
d1b02db
Compare
Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
d1b02db
to
6d9e530
Compare
@curiositycasualty could you please give it a look? thanks |
Git push to origin failed for release/3.5.x with exitcode 1 |
1 similar comment
Git push to origin failed for release/3.5.x with exitcode 1 |
Cherry-pick failed for Please cherry-pick the changes locally. git remote add upstream https://github.com/kong/kong-ee
git fetch upstream master
git worktree add -d .worktree/cherry-pick-12693-to-master-to-upstream upstream/master
cd .worktree/cherry-pick-12693-to-master-to-upstream
git checkout -b cherry-pick-12693-to-master-to-upstream
ancref=$(git merge-base 7c06064e82a6ac73393aa81ffbb62204dbfa75dd 6d9e530ac2e2687d86c4f2fb0a3f08721c1a3899)
git cherry-pick -x $ancref..6d9e530ac2e2687d86c4f2fb0a3f08721c1a3899 |
Git push to origin failed for release/3.6.x with exitcode 1 |
1 similar comment
Git push to origin failed for release/3.6.x with exitcode 1 |
Git push to origin failed for release/3.6.x with exitcode 1 |
1 similar comment
Git push to origin failed for release/3.6.x with exitcode 1 |
Git push to origin failed for release/3.3.x with exitcode 1 |
Git push to origin failed for release/3.4.x with exitcode 1 |
Git push to origin failed for release/3.5.x with exitcode 1 |
Git push to origin failed for release/3.6.x with exitcode 1 |
…mit (#12693) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
…mit (#12693) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
…mit (#12693) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
…mit (#12693) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
…mit (#12693) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
…mit (#12693) (#12707) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
…mit (#12693) (#12708) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
…mit (#12693) (#12709) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
…mit (#12693) (#12710) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
…mit (#12693) (#12711) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
…mit (#12693) (#12711) Replace `${{ secrets.GHA_COMMENT_TOKEN }}` with `${{ secrets.GITHUB_TOKEN }}`. The `${{ secrets.GHA_COMMENT_TOKEN }}` needs to be manually rotated, replacing it by `${{ secrets.GITHUB_TOKEN }}`, which is generated by each run of the workflow, so we don't need to rotate token anymore.
Co-authored-by: Zachary Hu <[email protected]> Co-authored-by: Niklaus Schen <[email protected]> Co-authored-by: Zhongwei Yao <[email protected]> Co-authored-by: samugi <[email protected]> Co-authored-by: Water-Melon <[email protected]> Co-authored-by: Michael Martin <[email protected]> Co-authored-by: Kong Team Gateway Bot <[email protected]> Co-authored-by: Zachary Hu <[email protected]> Co-authored-by: Qi <[email protected]> Co-authored-by: Mayo <[email protected]> Co-authored-by: Wangchong Zhou <[email protected]> Co-authored-by: Harry <[email protected]> Co-authored-by: Datong Sun <[email protected]> Co-authored-by: Vinicius Mignot <[email protected]> fix directory when stop_kong called (#12713) fix directory when stop_kong called (#12691) fix the workflow that comments the docker image on the commit (#12693) (#12711) fix(ci): replace "cpio" rpm extraction (#13233) (#13263) fix label-check test (#9717)
Summary
The
${{ secrets.GHA_COMMENT_TOKEN }}
needs to be manually rotated, replacing it by${{ secrets.GITHUB_TOKEN }}
, which is generated by each run of the workflow, so we don't need to rotate tokens anymore.${{ secrets.GITHUB_TOKEN }}
Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdKAG-4021