Ensure docker image pushes are ordered

zikaeroh created

Change summary

.github/workflows/ci.yml | 6 ++++++
1 file changed, 6 insertions(+)

Detailed changes

.github/workflows/ci.yml 🔗

@@ -151,6 +151,12 @@ jobs:
           echo Version $CODIES_VERSION
           echo "::set-env name=CODIES_VERSION::$CODIES_VERSION"
 
+      - name: Turnstyle
+        if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
+        uses: softprops/turnstyle@v1
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
       - name: Build / push image
         uses: whoan/docker-build-with-cache-action@v4
         with: