mheap / pin-github-action

Pin your GitHub actions to a specific hash
MIT License
74 stars 7 forks source link

`-c, --comment <string>` should parse `<string>`-formatted comments #148

Closed l0b0 closed 11 months ago

l0b0 commented 11 months ago

After pinning using --comment=' {ref}' it's not possible to re-run the same pinning command:

❯ npx pin-github-action --comment=' {ref}' .github/workflows/*.y*ml
Unable to find SHA for [some action]@ v3

Use case: After resolving a conflict with another branch which updated an action, I might have a few actions which need to be re-pinned.

mheap commented 11 months ago

Thanks for the report. This is released as 1.9.1 now