From 950598912c1991670b5f3c3d0ccacbc386c2191f Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Tue, 14 Jan 2025 12:34:07 +0000 Subject: [PATCH] Use commits tagged from main branch Prevents possible impostor commits from forks. Signed-off-by: Jack Baldry --- .github/workflows/prettier.yml | 2 +- .github/workflows/validate-documentation.yml | 2 +- publish-technical-documentation-release/action.yaml | 3 +-- publish-technical-documentation/action.yml | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 69a6d12b5..4f877e9b3 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -6,6 +6,6 @@ jobs: if: ${{ github.repository == 'grafana/writers-toolkit' }} runs-on: ubuntu-latest steps: - - uses: grafana/writers-toolkit/prettier@62fe122eb653707d1c49bc0e41cf4b9704c9064b # prettier/v2.0.0 + - uses: grafana/writers-toolkit/prettier@4b1248585248751e3b12fd020cf7ac91540ca09c # prettier/v2.0.1 with: branch: ${{ env.GITHUB_REF }} diff --git a/.github/workflows/validate-documentation.yml b/.github/workflows/validate-documentation.yml index ca07a3ca8..4cbaf929e 100644 --- a/.github/workflows/validate-documentation.yml +++ b/.github/workflows/validate-documentation.yml @@ -70,7 +70,7 @@ jobs: with: persist-credentials: false - name: Build website - uses: grafana/writers-toolkit/build-website@dbbf3fc8cda31d42362948daca2360772085ae03 # build-website/v1.0.0 + uses: grafana/writers-toolkit/build-website@4b1248585248751e3b12fd020cf7ac91540ca09c # build-website/v1.0.1 with: website_directory: docs/writers-toolkit diff --git a/publish-technical-documentation-release/action.yaml b/publish-technical-documentation-release/action.yaml index 1cf08528d..e78eb50f2 100644 --- a/publish-technical-documentation-release/action.yaml +++ b/publish-technical-documentation-release/action.yaml @@ -84,8 +84,7 @@ runs: shell: bash - name: Build website - uses: grafana/writers-toolkit/build-website@dbbf3fc8cda31d42362948daca2360772085ae03 # build-website/v1.0.0 - with: + uses: grafana/writers-toolkit/build-website@4b1248585248751e3b12fd020cf7ac91540ca09c # build-website/v1.0.1 with: source_directory: ${{ inputs.source_directory }} website_directory: ${{ inputs.website_directory }} diff --git a/publish-technical-documentation/action.yml b/publish-technical-documentation/action.yml index d370b7ea3..57aeceafb 100644 --- a/publish-technical-documentation/action.yml +++ b/publish-technical-documentation/action.yml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: Build website - uses: grafana/writers-toolkit/build-website@dbbf3fc8cda31d42362948daca2360772085ae03 # build-website/v1.0.0 + uses: grafana/writers-toolkit/build-website@4b1248585248751e3b12fd020cf7ac91540ca09c # build-website/v1.0.1 with: source_directory: ${{ inputs.source_directory }} website_directory: ${{ inputs.website_directory }}