-
Notifications
You must be signed in to change notification settings - Fork 10
Add link to new member playbook to auto-generated PRs #319
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
base: main
Are you sure you want to change the base?
Conversation
I always end up having to revisit the rest of the playbook to remember the next steps. This saves me a few keystrokes 😁
|
There was a zizmor warning that I was able to fix with |
| ISSUE_USER: ${{ env.ISSUE_USER }} | ||
| USERNAME: ${{ env.USERNAME }} | ||
| ISSUE_NUMBER: ${{ env.ISSUE_NUMBER }} |
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.
Something seems off here. Either we don't need to make these re-assignments, or we're no longer capturing the proper data.
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.
I'm not sure I understand. What zizmor was pointing out in was that the environment variables could be exposed to injection via shell expansion. By refactoring this was that risk is mitigated. I'm seeing all of the variables being used below ... feels like I'm missing something now 😄
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.
This seems correct to me. By makings these reassignments and using them like this, it stops injection attacks.
It does look a bit weird and unnecessary on first glance, but it is absolutely on purpose 😄
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.
@Stormheg can you link me to something that explains that? I don't understand why we're putting something into the environment when it's already in the environment.
I always end up having to revisit the rest of the playbook to remember the next steps. This saves me a few keystrokes 😁