@@ -25,12 +25,12 @@ jobs:
2525 name : Build PHAR
2626 steps :
2727 - name : Checkout
28- uses : actions/checkout@v4
28+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2929 with :
3030 fetch-depth : 0
3131
3232 - name : Setup PHP
33- uses : shivammathur/setup-php@v2
33+ uses : shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
3434 with :
3535 php-version : ' 8.2'
3636 ini-values : phar.readonly=0
5252
5353 - name : Import GPG key
5454 if : github.event_name == 'release'
55- uses : crazy-max/ghaction-import-gpg@v6
55+ uses : crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
5656 with :
5757 gpg_private_key : ${{ secrets.GPG_KEY_74A754C9778AA03AA451D1C1A000F927D67184EE }}
5858 passphrase : ${{ secrets.GPG_KEY_74A754C9778AA03AA451D1C1A000F927D67184EE_PASSPHRASE }}
6969 bin/php-scoper.phar
7070
7171 - name : Upload the PHAR artifact
72- uses : actions/upload-artifact@v4
72+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7373 with :
7474 name : php-scoper-phar
7575 path : |
@@ -85,13 +85,13 @@ jobs:
8585 permissions :
8686 contents : write
8787 steps :
88- - uses : actions/download-artifact@v4
88+ - uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
8989 with :
9090 name : php-scoper-phar
9191 path : .
9292
9393 - name : Upload php-scoper.phar
94- uses : softprops/action-gh-release@v2
94+ uses : softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
9595 with :
9696 token : ${{ secrets.GITHUB_TOKEN }}
9797 files : |
@@ -105,14 +105,14 @@ jobs:
105105 - build-phar
106106 steps :
107107 - name : Checkout
108- uses : actions/checkout@v4
108+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
109109
110110 - name : Setup PHP
111- uses : shivammathur/setup-php@v2
111+ uses : shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
112112 with :
113113 php-version : ' 8.2'
114114
115- - uses : actions/download-artifact@v4
115+ - uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
116116 with :
117117 name : php-scoper-phar
118118 path : .
@@ -126,14 +126,14 @@ jobs:
126126 ./bin/php-scoper.phar --ansi --version
127127
128128 - name : Set up QEMU
129- uses : docker/setup-qemu-action@v3
129+ uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
130130
131131 - name : Set up Docker Buildx
132- uses : docker/setup-buildx-action@v3
132+ uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
133133
134134 - name : Login to Docker Container Registry
135135 if : github.event_name == 'release'
136- uses : docker/login-action@v3
136+ uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
137137 with :
138138 username : ${{ env.DOCKERHUB_USERNAME }}
139139 password : ${{ secrets.DOCKERHUB_TOKEN }}
@@ -153,7 +153,7 @@ jobs:
153153
154154 - name : Login to GitHub Container Registry
155155 if : github.event_name != 'release'
156- uses : docker/login-action@v3
156+ uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
157157 with :
158158 registry : ghcr.io
159159 username : ${{ github.actor }}
@@ -166,7 +166,7 @@ jobs:
166166 echo "DOCKER_TEST_TAG=ghcr.io/humbugphp/php-scoper" >> $GITHUB_ENV
167167
168168 - name : Build and export to Docker
169- uses : docker/build-push-action@v6
169+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
170170 with :
171171 context : .
172172 file : ${{ env.DOCKERFILE }}
@@ -179,7 +179,7 @@ jobs:
179179
180180 - name : Build and push
181181 if : github.event_name == 'release'
182- uses : docker/build-push-action@v6
182+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
183183 with :
184184 context : .
185185 file : ${{ env.DOCKERFILE }}
0 commit comments