Skip to content

Commit

Permalink
fix: replace actions/checkout from master to v3 (chaos-mesh#3737)
Browse files Browse the repository at this point in the history
Signed-off-by: Yue Yang <[email protected]>

Signed-off-by: Yue Yang <[email protected]>
  • Loading branch information
g1eny0ung authored Nov 2, 2022
1 parent af1792c commit ece0909
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checklink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: "yes"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov_unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build Chaos Mesh Build Env
if: ${{ github.event.pull_request }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
arch: [amd64, arm64]
runs-on: ${{ fromJson('{"amd64":"ubuntu-latest", "arm64":["self-hosted", "Linux", "ARM64"]}')[matrix.arch] }}
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
with:
# Must use at least depth 2!
fetch-depth: 2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_env_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
outputs:
image_tag: ${{ steps.image_tag.outputs.image_tag }}
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3

- name: Extract Image Tag
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
image_tag: ${{ steps.image_tag.outputs.image_tag }}
runs-on: ${{ fromJson('{"amd64":"ubuntu-latest", "arm64":["self-hosted", "Linux", "ARM64"]}')[matrix.arch] }}
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
with:
# It requires all the tags and branches to generate the correct GitVersion with `hack/version.sh`.
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_image_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request && startsWith( github.event.comment.body, '/build-image') }}
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3

- name: Install jq
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_latest_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Upload
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
with:
# Must use at least depth 2!
fetch-depth: 2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_release_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
echo "The tag must start with 'v'"
echo "GITHUB_REF: ${GITHUB_REF}"
exit 1
- uses: actions/checkout@master
- uses: actions/checkout@v3
with:
# Must use at least depth 2!
fetch-depth: 2
Expand Down

0 comments on commit ece0909

Please sign in to comment.