Skip to content

Conversation

@Byron
Copy link
Collaborator

@Byron Byron commented Sep 22, 2025

Based on this commit in Gitoxide:

GitoxideLabs/gitoxide@a235ac8

Tasks

  • add directive to all non-publish workflows
  • prevent future checkouts with persisted credentials in everything but publish.yml

Note that the exception of publish.yml is merely done out of fear of testing this, as it's possible that
this workflow relies on persisted credentials.

@vercel
Copy link

vercel bot commented Sep 22, 2025

@Byron is attempting to deploy a commit to the GitButler Team on Vercel.

A member of the Team first needs to authorize it.

`publish.yaml` is excluded just because testing it is more cumbersome,
and it's nothing that untrusted parties can easily run.
@Byron Byron marked this pull request as ready for review September 22, 2025 07:56
@Byron
Copy link
Collaborator Author

Byron commented Sep 22, 2025

CC @krlvi This PR is a clone of a similar one in gitoxide, and this suggestion comes directly from the GitHub security team so I thought I'd port it here.

publish.yaml is left out, but if you think it's not relying on persisted credentials we could disallow doing so there as well. I just didn't want to risk breaking it, especially knowing that this workflow is only run by trusted parties.

@Byron Byron enabled auto-merge September 22, 2025 08:00
@Byron Byron merged commit a6c6024 into gitbutlerapp:master Sep 22, 2025
19 of 20 checks passed
@krlvi
Copy link
Member

krlvi commented Sep 22, 2025

Nice one, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants