diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1dcf8da --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + day: "monday" + time: "10:00" # UTC diff --git a/.github/workflows/publish-to-bcr.yaml b/.github/workflows/publish-to-bcr.yaml index f565313..4d91573 100644 --- a/.github/workflows/publish-to-bcr.yaml +++ b/.github/workflows/publish-to-bcr.yaml @@ -16,7 +16,7 @@ permissions: jobs: publish: - uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v0.2.2 + uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@096e4724c760aa0024916fe772701c06926f4c49 # v0.2.2 with: tag_name: ${{ inputs.tag_name || github.ref_name }} registry_fork: bufbuild/bazel-central-registry diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d522eff..2892385 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,9 +18,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Create tag - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 with: script: | const tag = '${{ github.event.inputs.tag_name }}'; @@ -39,7 +39,7 @@ jobs: sha: commitTag.data.sha, }); release: - uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7.2.3 + uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@a841d62420f41a87a601fb331f3c2c2cc088506e # v7.2.3 needs: create-release-tag with: release_files: rules_buf-*.tar.gz diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index fb0e3f5..5303c15 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -20,13 +20,13 @@ jobs: steps: # Caches and restores the bazelisk download directory, the bazel build directory. - name: Cache bazel - uses: actions/cache@v4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: | ~/.cache/bazelisk ~/.cache/bazel key: ${{ runner.os }}-bazel-${{ matrix.bazel }}-cache - - uses: actions/checkout@v2 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 - name: bazel test run: make test macos: @@ -40,13 +40,13 @@ jobs: steps: # Caches and restores the bazelisk download directory, the bazel build directory. - name: Cache bazel - uses: actions/cache@v4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: | ~/.cache/bazelisk /private/var/tmp/_bazel_runner key: ${{ runner.os }}-bazel-${{ matrix.bazel }}-cache - - uses: actions/checkout@v2 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 - name: bazel test run: make test # Disabled due to error in protobuf on Windows