-
Notifications
You must be signed in to change notification settings - Fork 20
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
ci: update workflow to allow to test workflow changes #160
Conversation
Deploy preview for website ready! ✅ Preview Built with commit 54f6e28. |
I believe this was done intentionally to prevent credentials leaking at some point. CC @neersighted In the meantime @radoering using a branch on the upstream remote should work. |
I believe this change does not increase the risk of leaking credentials. In fact,
(from https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/) It just does not work for forks if secrets are required, i.e. to deploy the preview.
I do not think so. #159 uses an upstream branch, but this will only work with
(from https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/) |
You are likely correct, I have not kept up with the changes in Actions on this topic. I am however surprised that the push trigger on the upstream remote branch didn't trigger with the branch context. |
@radoering come to think of it, the pull request event does not get (by default) access to secrets, correct? In that case deployment and vercel steps should fail on pull requests if this change is applied. And if we enable access to secrets, that opens the doors for secrets being exported unintentionally. |
It triggers but is always skipped because
The
See also the cited text from https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/ (emphasis added by myself) for reference:
To summarize the triggers with this PR:
|
The
push
trigger does not seem to work. Thepull_request
trigger should do.Motivation: #159 fails because it needs a new hugo version, which has to be specificied in the workflow itself.