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 — Switch to official GitHub action for managing app tokens by yvonnefroehlich · Pull Request #3165 · GenericMappingTools/pygmt

Conversation

@yvonnefroehlich

@yvonnefroehlich yvonnefroehlich commented Apr 10, 2024 •
edited by seisman
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Description of proposed changes

Switch from the tibdex/github-app-token action to generate PAT token which are used in the /format slash command to the official GitHub action for this purpose (https://github.com/actions/create-github-app-token).

Fixes #3164

Sorry, something went wrong.

Uh oh!

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

All reactions
@yvonnefroehlich
Switch to official GitHub action for managing app tokens
da09e46
@yvonnefroehlich yvonnefroehlich added the maintenance Boring but important stuff for the core devs label Apr 10, 2024
@yvonnefroehlich yvonnefroehlich added this to the 0.12.0 milestone Apr 10, 2024
@yvonnefroehlich yvonnefroehlich mentioned this pull request Apr 10, 2024
Switch to official GitHub action for managing app tokens #3164
Closed
seisman
seisman reviewed Apr 10, 2024
View reviewed changes
Comment thread .github/workflows/format-command.yml Resolved

Uh oh!

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

@yvonnefroehlich @seisman
Use latest version of create-github-app-token
0ecc547
Co-authored-by: Dongdong Tian <[email protected]>
@seisman

seisman commented Apr 10, 2024

Copy link
Copy Markdown
Member

/format

genericmappingtools-bot[bot] reacted with hooray emoji github-actions[bot] reacted with rocket emoji github-actions[bot] reacted with eyes emoji
All reactions
  • 🎉 1 reaction
  • 🚀 1 reaction
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

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

@seisman

seisman commented Apr 10, 2024

Copy link
Copy Markdown
Member

The /slash command can only trigger the workflow in the main branch, so there is no easy way to test if it works in PRs or forks. To test it, you need to push the same changes into the main branch in your own fork, open a PR to test it, and also need to ask someone else to submit a PR from a fork to test it.

The whole process is tedious (I have done it several times), so I think we should just merge this PR in and if anything doesn't work as expected, we should either fix it or revert it.

All reactions

Sorry, something went wrong.

Uh oh!

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

seisman
seisman approved these changes Apr 10, 2024
View reviewed changes
@seisman
seisman merged commit b3e0048 into main Apr 10, 2024
@seisman
seisman deleted the switch-app-token branch April 10, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@seisman seisman seisman approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Milestone

0.12.0

Development

Successfully merging this pull request may close these issues.

Switch to official GitHub action for managing app tokens

Uh oh!

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

2 participants

@yvonnefroehlich @seisman
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 01402792 — 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.