diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa721d2..f9194d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,15 +18,15 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - id: rp if: github.event_name != 'pull_request' && github.ref_name == 'main' - uses: googleapis/release-please-action@v4 + uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4 with: release-type: simple include-v-in-tags: false - name: Log into registry ${{ env.REGISTRY }} - uses: docker/login-action@v3 + uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3 with: registry: ${{ env.REGISTRY }} username: ${{ env.REGISTRY_USERNAME }} @@ -54,16 +54,16 @@ jobs: } >> "$GITHUB_OUTPUT" - name: Docker meta id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: ${{ steps.tags.outputs.tags }} - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3 - name: Build and push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@c382f710d39a5bb4e430307530a720f50c2d3318 # v6 with: context: . provenance: false diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index fe7df91..a2028ff 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,12 +10,12 @@ jobs: name: Check commit messages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} fetch-depth: 0 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5 with: cache: pip # caching pip dependencies - run: pip install commitizen