Remove unnecessary fetch-depth
And follow convention for actions/checkout
MODIFY
.github/workflows/muzzle.yml
.github/workflows/muzzle.yml
@@ -9,10 +9,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- - name: Check out repository
- uses: actions/checkout@v2.3.4
- with:
- fetch-depth: 0
+ - uses: actions/checkout@v2.3.4
- name: Set up JDK 11 for running Gradle
uses: actions/setup-java@v2
@@ -36,8 +33,7 @@ jobs:
matrix: ${{fromJson(needs.setup-matrix.outputs.matrix)}}
fail-fast: false
steps:
- - name: Check out repository
- uses: actions/checkout@v2.3.4
+ - uses: actions/checkout@v2.3.4
- name: Set up JDK 11 for running Gradle
uses: actions/setup-java@v2

MODIFY
.github/workflows/nightly-benchmark-overhead.yml
.github/workflows/nightly-benchmark-overhead.yml
@@ -9,10 +9,8 @@ jobs:
run-overhead-tests:
runs-on: ubuntu-latest
steps:
- - name: checkout
- uses: actions/checkout@v2.3.4
- - name: checkout
- uses: actions/checkout@v2.3.4
+ - uses: actions/checkout@v2.3.4
+ - uses: actions/checkout@v2.3.4
with:
ref: gh-pages
path: gh-pages

MODIFY
.github/workflows/nightly-codeql-analysis.yml
.github/workflows/nightly-codeql-analysis.yml
@@ -10,8 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- - name: Checkout repository
- uses: actions/checkout@v2.3.4
+ - uses: actions/checkout@v2.3.4
- name: Initialize CodeQL
uses: github/codeql-action/init@v1

MODIFY
.github/workflows/publish-smoke-test-spring-boot-images.yml
.github/workflows/publish-smoke-test-spring-boot-images.yml
@@ -66,8 +66,6 @@ jobs:
- uses: technote-space/workflow-conclusion-action@v2.2
- uses: actions/checkout@v2.3.4
- with:
- fetch-depth: 0
- uses: JasonEtco/create-an-issue@v2.6
if: env.WORKFLOW_CONCLUSION == 'failure' # notify only if failure

Remove unnecessary fetch-depth (#5469)

And follow convention for actions/checkout