| 22 May 2025 |
danth | FYI you can also install a GitHub app on the repo and use `actions/create-github-app-token` | 23:12:58 |
danth | * FYI you can also install a GitHub app on the repo and use actions/create-github-app-token | 23:13:37 |
Matt Sturgeon | I'm unfamiliar, would that create a token for doing things as the "app"?
I feel like that'd count as doing things "as a bot" and therefore still wouldn't trigger on:push workflows.
If it does trigger workflows on PRs pushed to by this app token, then that may be neater.
Is this what you do in Stylix for updating your lockfile? | 23:17:33 |
danth | Yeah, it can trigger workflows like normal, and everything it does shows up as the bot user (example here.It's also a bit more secure since you can fine tune permissions on the app and the generated tokens only last for 1 hour | 23:27:18 |
danth | * Yeah, it can trigger workflows like normal, and everything it does shows up as the bot user (example here).
It's also a bit more secure since you can fine tune permissions on the app and the generated tokens only last for 1 hour
| 23:27:26 |
Matt Sturgeon | Ah thanks. That definitely looks like a better approach.
I also see it listed as one of the workarounds here: https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
I'll try to find time to look into it with @glepage:matrix.org, as I don't have the right permissions for setting up apps or secrets myself. | 23:32:39 |
| 23 May 2025 |
zowoq | I can set up a nix-community owned github app for this if you want, a few other repos are already using their own app with create-github-app-token. | 03:17:15 |
Matt Sturgeon | Thanks, that'd be great 😃 | 03:20:59 |
zowoq | Done. It has permissions for PRs, app id and key are set in the repo secrets and variables. | 03:48:30 |
Gaétan Lepage | Thanks a lot zowoq | 07:47:06 |
| @bombeuler:fedora.im joined the room. | 08:27:46 |
| @bombeuler:fedora.im left the room. | 08:27:55 |
Matt Sturgeon | Thanks! | 18:21:30 |
| divit joined the room. | 20:59:58 |
| 24 May 2025 |
emily | 09:38:56 up 8:56, 3 users, load average: 165.47, 75.01, 30.85
| 09:39:24 |