1313 container :
1414 image : ghcr.io/wyrihaximusnet/php:8.2-nts-alpine-dev-root
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
1717 with :
1818 fetch-depth : ' 0'
1919 persist-credentials : ' false'
2727 - name : Tar example files
2828 run : tar -czf example.tar ./example
2929 - name : Upload Generated Client
30- uses : actions/upload-artifact@v4
30+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3131 with :
3232 name : example-${{ inputs.name }}-client
3333 path : ./example.tar
3838 version : ${{ steps.supported-versions-matrix.outputs.version }}
3939 upcoming : ${{ steps.supported-versions-matrix.outputs.upcoming }}
4040 steps :
41- - uses : actions/checkout@v4
41+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
4242 - id : supported-versions-matrix
43- uses : WyriHaximus/github-action-composer-php-versions-in-range@v1
43+ uses : WyriHaximus/github-action-composer-php-versions-in-range@ea3d54bf7909d5607c4f32bda9cd8d64e420ec99 # v1
4444 with :
4545 upcomingReleases : true
4646 supported-checks-matrix :
@@ -51,11 +51,11 @@ jobs:
5151 outputs :
5252 check : ${{ steps.supported-checks-matrix.outputs.check }}
5353 steps :
54- - uses : actions/checkout@v4
54+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
5555 - run : |
5656 mkdir -p example/generated-${{ inputs.name }}
5757 - name : Download Generated Client
58- uses : actions/download-artifact@v4
58+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
5959 with :
6060 name : example-${{ inputs.name }}-client
6161 path : ./
@@ -83,14 +83,14 @@ jobs:
8383 container :
8484 image : ghcr.io/wyrihaximusnet/php:${{ matrix.php }}-nts-alpine-dev-root
8585 steps :
86- - uses : actions/checkout@v4
86+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
8787 with :
8888 fetch-depth : 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags
8989 - run : git config --global --add safe.directory $GITHUB_WORKSPACE # Do this ourself because `actions/checkout@v3 doesn't succeed in doing this
9090 - run : |
9191 mkdir -p example/generated-${{ inputs.name }}
9292 - name : Download Generated Client
93- uses : actions/download-artifact@v4
93+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
9494 with :
9595 name : example-${{ inputs.name }}-client
9696 path : ./
0 commit comments