Skip to content

pmalek/gha-pin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gha-pin

Pin Github Actions versions with commit SHA

@@ -13,15 +13,15 @@ jobs:
   unit-tests:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/[email protected]
+    - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
     - run: make test.unit
 
   integration-tests:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/[email protected]
+    - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
     - run: make test.unit
     - name: setup golang
-      uses: actions/[email protected]
+      uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
     - name: run integration tests
       run: make test.integration

How to install

go install github.com/pmalek/gha-pin/cmd/gha-pin@latest

How to use

gha-pin <path-to-workflow-file> ...

Optionally provide GITHUB_TOKEN environment variable to increase rate limit for Github API.

About

Pin Github Actions versions with commit SHA

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages