diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index e28c8e0..8839943 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Build Dockerfile run: docker build . diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index b05fc0b..fd55e84 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -8,7 +8,7 @@ jobs: docker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Build the Docker image run: docker build . --file Dockerfile --tag ${{ secrets.DOCKER_URL }}/${{ secrets.REPO }}/mtbexporter:latest --label maintainer="Niklas Reimer <${{ secrets.EMAIL }}>" - name: Login to Docker registry diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d26accf..789c9aa 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Set up JDK 11 uses: actions/setup-java@v3 with: diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 445ee33..3d41a8a 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -11,7 +11,7 @@ jobs: if: github.repository == 'nr23730/MtbExporter' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 11