Skip to content
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

Pin fetch-metadata by SHA #946

Merged
merged 1 commit into from
May 12, 2023
Merged

Pin fetch-metadata by SHA #946

merged 1 commit into from
May 12, 2023

Conversation

jeffwidman
Copy link
Member

This is mostly cosmetic, since we control the action so aren't worried about something nefarious happening. But it's also good practice, and makes our security bot reviewer happy.

@jeffwidman jeffwidman requested a review from a team as a code owner May 12, 2023 04:50
@@ -9,7 +9,7 @@ jobs:
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Fetch metadata
uses: dependabot/[email protected]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other option since we control this action is to pin @v1... but since this ships to GHES I'm not sure if it might be better to keep it fully deterministic in the off-chance that we accidentally ship a breaking change to fetch-metadata w/o realizing it we don't hose all those GHES users... 🤷‍♂️

This is mostly cosmetic, since we control the action so aren't worried
about something nefarious happening. But it's also good practice, and
makes our security bot reviewer happy.
@jeffwidman jeffwidman force-pushed the pin-fetch-metadata-by-sha branch from 8d42b53 to b387f7b Compare May 12, 2023 17:34
@jeffwidman jeffwidman enabled auto-merge (squash) May 12, 2023 17:34
@jeffwidman jeffwidman merged commit a7fa9f3 into main May 12, 2023
@jeffwidman jeffwidman deleted the pin-fetch-metadata-by-sha branch May 12, 2023 17:36
@mctofu mctofu mentioned this pull request Jun 19, 2023
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