diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 8c30c9691..c46bcf6a2 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -25,7 +25,7 @@ jobs: - run: web/gen/all - - uses: actions/setup-node@v6 + - uses: actions/setup-node@v6.3.0 with: node-version-file: .github/node-version.txt - run: npm ci diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 81963bd47..53ac68927 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -96,7 +96,7 @@ jobs: - if: runner.os == 'macOS' && github.repository == 'mitmproxy/mitmproxy' && (startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/')) id: keychain - uses: apple-actions/import-codesign-certs@b610f78488812c1e56b20e6df63ec42d833f2d14 + uses: apple-actions/import-codesign-certs@fe74d46e82474f87e1ba79832ad28a4013d0e33a with: keychain: ${{ runner.temp }}/temp p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }} @@ -153,11 +153,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: mhils/workflows/checkout@8fe88b311a66c441e01edfebe4cd90d8a47fa335 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@v6.3.0 with: node-version-file: .github/node-version.txt - name: Cache Node.js modules - uses: actions/cache@v5 + uses: actions/cache@v5.0.4 with: # npm cache files are stored in `~/.npm` on Linux/macOS path: ~/.npm @@ -250,16 +250,16 @@ jobs: with: name: binaries.wheel path: release/docker - - uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0 - - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v1.6.0 + - uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0 + - uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v1.6.0 - name: Login to Docker Hub - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 + uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: username: mitmbot password: ${{ secrets.DOCKER_PASSWORD }} - name: Login to GitHub Container Registry - uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 + uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -267,7 +267,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 + uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf env: DOCKER_METADATA_ANNOTATIONS_LEVELS: index with: @@ -283,7 +283,7 @@ jobs: - name: Build and push id: push - uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2 + uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 with: context: release/docker platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 475b67a36..2f7802447 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v6 with: token: ${{ secrets.GH_PUSH_TOKEN }} # this token works to push to the protected main branch. - - uses: actions/setup-node@v6 + - uses: actions/setup-node@v6.3.0 with: node-version-file: .github/node-version.txt - uses: mhils/workflows/setup-python@8fe88b311a66c441e01edfebe4cd90d8a47fa335