GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use an app token for triggering a release by aeisenberg · Pull Request #2644 · github/codeql-action

Conversation

@aeisenberg

@aeisenberg aeisenberg commented Dec 11, 2024

Copy link
Copy Markdown
Contributor

We need to do this because using a default token will not recursively trigger a new workflow run.

The only way to test this is to merge to main and do a release.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot AI review requested due to automatic review settings December 11, 2024 20:41
@aeisenberg
aeisenberg requested a review from a team as a code owner December 11, 2024 20:41
Copilot AI reviewed Dec 11, 2024
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no suggestions.

Comments skipped due to low confidence (1)

.github/workflows/post-release-mergeback.yml:166

  • The new token generation step should be tested to ensure it works as expected. Consider adding a test workflow to validate the token creation process.
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
henrymercer
henrymercer reviewed Dec 12, 2024
View reviewed changes

@henrymercer henrymercer left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

The indentation doesn't look quite right, but otherwise this looks good!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@aeisenberg
Use an app token for triggering a release
9a8645d
We need to do this because using a default token will not
recursively trigger a new workflow run.
@aeisenberg
aeisenberg force-pushed the aeisenberg/use-app-token-for-release branch from 1a19005 to 9a8645d Compare December 12, 2024 17:10
@aeisenberg

aeisenberg commented Dec 12, 2024

Copy link
Copy Markdown
Contributor Author

Fixed the indentation. After merging, I will do a release to see if this fixes the problem.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

NlightNFotis
NlightNFotis approved these changes Dec 12, 2024
View reviewed changes

@NlightNFotis NlightNFotis left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Code-wise, this looks good.

The only question is whether the permissions are adequate for performing the release, but I guess we won't know until we try it.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@aeisenberg
aeisenberg enabled auto-merge December 12, 2024 17:22
@aeisenberg
aeisenberg merged commit 9cfbef4 into main Dec 12, 2024
@aeisenberg
aeisenberg deleted the aeisenberg/use-app-token-for-release branch December 12, 2024 17:22
@github-actions github-actions Bot mentioned this pull request Dec 12, 2024
Merge main into releases/v3 #2645
Merged
6 of 8 tasks
@aeisenberg

aeisenberg commented Dec 12, 2024

Copy link
Copy Markdown
Contributor Author

the permissions are adequate for performing the release

I believe so. We need contents: write for this to work. And the app provides it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot mentioned this pull request Dec 12, 2024
Merge releases/v3 into releases/v2 #2647
Merged
10 of 12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@henrymercer henrymercer henrymercer left review comments
Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
+1 more reviewer
@NlightNFotis NlightNFotis NlightNFotis approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@aeisenberg @NlightNFotis @henrymercer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.