From 8d9af86fd85627593fb107ca78e97aed8d29d42b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstro=CC=88m?= Date: Sat, 21 Oct 2023 17:43:31 -0300 Subject: [PATCH] fix(deps): don't pin github action to sha This probably needs to be coupled with a renovate config. Will look at this later. Closes: https://github.com/jbergstroem/mariadb-alpine/pull/257 --- .github/workflows/dockerhub.yml | 2 +- .github/workflows/lint.yml | 12 ++++++------ .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 2 +- .github/workflows/todo.yml | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 14249b9..51ac8fb 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -12,7 +12,7 @@ jobs: name: Update Docker Hub runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 - name: Run shell script run: sh/generate-dockerhub-readme.sh - name: Update Docker Hub readme and description diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3dc538d..48e3217 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,7 @@ jobs: name: Validate renovate config runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 - name: validate uses: rinchsan/renovate-config-validator@v0.0.12 with: @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-22.04 name: Shellcheck steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 - name: Install Shellcheck env: version: "0.9.0" @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-22.04 name: Hadolint steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 - uses: jbergstroem/hadolint-gh-action@v1.11.0 with: error_level: 2 @@ -37,7 +37,7 @@ jobs: name: Actionlint runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 - name: Install Actionlint env: version: "1.6.25" @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-22.04 name: Prettier steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3.8.1 with: node-version: "18.11.0" @@ -62,7 +62,7 @@ jobs: name: Shfmt runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 - name: Install shfmt env: version: "3.7.0" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0299aa5..f654364 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: outputs: tag: ${{ steps.extract.outputs.tag }} steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 with: # get all tags fetch-depth: 0 @@ -56,7 +56,7 @@ jobs: image: jbergstroem/mariadb-alpine ref_url: ${{ github.api_url }}/repos/${{ github.repository }}/git/refs steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2.10.0 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c99bd37..471536e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: name: E2E Tests runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 - name: Assign version for usage id: assign run: echo IMAGE_VERSION="$(git rev-parse --short HEAD)" >> "$GITHUB_ENV" diff --git a/.github/workflows/todo.yml b/.github/workflows/todo.yml index 2c5c4e7..68946f6 100644 --- a/.github/workflows/todo.yml +++ b/.github/workflows/todo.yml @@ -9,7 +9,7 @@ jobs: name: Create Todo runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: actions/checkout@v4 - name: TODO to Issue uses: alstr/todo-to-issue-action@v4.10.2 with: