1010 test :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v4
14- - uses : actions/setup-python@v5
13+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
14+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
1515 with :
1616 python-version : ' 3.13'
1717
2323 pre-commit :
2424 runs-on : ubuntu-latest
2525 steps :
26- - uses : actions/checkout@v4
27- - uses : actions/setup-python@v5
26+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
27+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2828 with :
2929 python-version : ' 3.13'
3030
@@ -42,11 +42,11 @@ jobs:
4242 - pre-commit
4343 steps :
4444 - name : Check out the repo
45- uses : actions/checkout@v4
45+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4646
4747 - name : Extract metadata (tags, labels) for Docker
4848 id : meta
49- uses : docker/metadata-action@v5.7.0
49+ uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
5050 with :
5151 # list of Docker images to use as base name for tags
5252 images : |
@@ -63,14 +63,14 @@ jobs:
6363
6464 - name : Login to GHCR
6565 if : github.event_name == 'push' && (startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/main')
66- uses : docker/login-action@v3
66+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
6767 with :
6868 registry : ghcr.io
6969 username : ${{ github.repository_owner }}
7070 password : ${{ secrets.GITHUB_TOKEN }}
7171
7272 - name : Build and push master Docker image
73- uses : docker/build-push-action@v6.18.0
73+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
7474 with :
7575 context : .
7676 push : ${{ github.event_name == 'push' && (startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/main') }}
@@ -84,13 +84,13 @@ jobs:
8484 - container
8585 steps :
8686 - name : Checkout
87- uses : actions/checkout@v4
87+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
8888 with :
8989 persist-credentials : false
9090
9191 - name : Generate a token
9292 id : generate_token
93- uses : actions/create-github-app-token@v2
93+ uses : actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
9494 with :
9595 app-id : ${{ secrets.CICD_APP_ID }}
9696 private-key : ${{ secrets.CICD_APP_PRIVATE_KEY }}
0 commit comments