Skip to content

Update GitHub actions to use commit sha instead of tags#82

Merged
wing328 merged 1 commit intoOpenAPITools:masterfrom
nrayburn-tech:github-action-sha
Sep 25, 2025
Merged

Update GitHub actions to use commit sha instead of tags#82
wing328 merged 1 commit intoOpenAPITools:masterfrom
nrayburn-tech:github-action-sha

Conversation

@nrayburn-tech
Copy link
Copy Markdown
Contributor

This change is to avoid supply chain attacks where a tag is replaced with malicious code. Dependabot should recognize the format and maintain it correctly on future PRs.

…ly chain attacks where a tag is replaced with malicious code
@wing328
Copy link
Copy Markdown
Member

wing328 commented Sep 25, 2025

fyi. for other projects under https://github.com/OpenAPITools, we are just using tags.

@nrayburn-tech
Copy link
Copy Markdown
Contributor Author

I think that’s the most common approach, but I believe there was a supply chain attack related to that. I think GitHub even introduced an option recently to require sha instead of a tag.

Let me see if I can find some info on it.

@wing328
Copy link
Copy Markdown
Member

wing328 commented Sep 25, 2025

i don't mind going with this approach to be on the safe side :)

we can give it a try with this project to start with

@wing328 wing328 merged commit 338ccf8 into OpenAPITools:master Sep 25, 2025
1 check passed
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.

3 participants