Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/checkout from 2.3.4 to 4.1.5 #11097

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci-post-land.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
rust-changes: ${{ steps.rust-changes.outputs.changes-found }}
base-image-changes: ${{ steps.base-image-changes.outputs.changes-found }}
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
# This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip
# On `push` this value will be empty and will "do-the-right-thing"
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
# name: Sccache
# if: ${{ needs.prepare.outputs.rust-changes == 'true' }}
# steps:
# - uses: actions/checkout@v2.3.4
# - uses: actions/checkout@v4.1.5
# with:
# This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip
# On `push` this value will be empty and will "do-the-right-thing"
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- "${{github.workspace}}:/opt/git/diem"
if: ${{ needs.prepare.outputs.rust-changes == 'true' }}
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
# This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip
# On `push` this value will be empty and will "do-the-right-thing"
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
volumes:
- "${{github.workspace}}:/opt/git/diem"
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
# This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip
# On `push` this value will be empty and will "do-the-right-thing"
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
- name: docker prune
run: |
docker system prune -f
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
# This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip
# On `push` this value will be empty and will "do-the-right-thing"
Expand All @@ -193,7 +193,7 @@ jobs:
# # The pre-release suite run time varies 1~1.5 hr.
# timeout-minutes: 120
# steps:
# - uses: actions/checkout@v2.4.0
# - uses: actions/checkout@v4.1.5
# with:
# fetch-depth: 0 #get all the history!!!
# - name: set_env
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
- name: docker prune
run: |
docker system prune -f
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
fetch-depth: 0 #get all the history!!!
#- name: setup_aws_ecr_login
Expand Down Expand Up @@ -364,7 +364,7 @@ jobs:
- "${{github.workspace}}:/opt/git/diem"
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
- uses: ./.github/actions/build-setup
- uses: actions/cache@v2.1.6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-complete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion != 'skipped' }}
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v4.1.5
- name: Download artifacts
uses: diem/actions/get-artifacts@faadd16607b77dfa2231a8f366883e01717b3225
with:
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
test-docker-compose: ${{ steps.docker-compose-changes.outputs.changes-found }}
test-test-coverage: ${{ steps.test-coverage.outputs.changes-found }}
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
# This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip
# On `push` this value will be empty and will "do-the-right-thing"
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
# matrix:
# target_os: [alpine, arch, github]
# steps:
# - uses: actions/checkout@v2.4.0
# - uses: actions/checkout@v4.1.5
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# - name: build image with dev-setup.sh
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
- name: docker prune
run: |
docker system prune -f
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
fetch-depth: 0 #get all the history!!!
- id: changes
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
- name: docker prune
run: |
docker system prune -f
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 #get all the history!!!
Expand Down Expand Up @@ -441,7 +441,7 @@ jobs:
image: ghcr.io/diem/diem_build_environment:${{ needs.prepare.outputs.changes-target-branch }}
steps:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/build-setup
Expand Down Expand Up @@ -472,7 +472,7 @@ jobs:
- "${{github.workspace}}:/opt/git/diem"
steps:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/build-setup
Expand Down Expand Up @@ -505,7 +505,7 @@ jobs:
- "${{github.workspace}}:/opt/git/diem"
steps:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 #get all the history!!!
Expand Down Expand Up @@ -548,7 +548,7 @@ jobs:
- "${{github.workspace}}:/opt/git/diem"
steps:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 #get all the history!!!
Expand Down Expand Up @@ -588,7 +588,7 @@ jobs:
MESSAGE_PAYLOAD_FILE: /tmp/message
steps:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 #get all the history!!!
Expand Down Expand Up @@ -669,7 +669,7 @@ jobs:
# - "${{github.workspace}}:/opt/git/diem"
# steps:
# - run: git config --global --add safe.directory '*'
# - uses: actions/checkout@v2.3.4
# - uses: actions/checkout@v4.1.5
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# fetch-depth: 0 #get all the history!!!
Expand All @@ -696,7 +696,7 @@ jobs:
- name: remove docker volumes
run: |
docker volume prune --all -f || echo "no volumes to remove"
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: install expect
Expand Down Expand Up @@ -745,7 +745,7 @@ jobs:
- "${{github.workspace}}:/opt/git/diem"
steps:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/build-setup
Expand Down Expand Up @@ -774,7 +774,7 @@ jobs:
# volumes:
# - "${{github.workspace}}:/opt/git/diem"
# steps:
# - uses: actions/checkout@v2.4.0
# - uses: actions/checkout@v4.1.5
# with:
# ref: ${{ github.event.pull_request.head.sha }}
# - uses: ./.github/actions/build-setup
Expand Down Expand Up @@ -804,7 +804,7 @@ jobs:
if: ${{ always() && needs.prepare.outputs.test-helm == 'true' }}
steps:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Check machine details for minikube
Expand Down Expand Up @@ -884,7 +884,7 @@ jobs:
- "${{github.workspace}}:/opt/git/diem"
steps:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v4.1.5
- uses: ./.github/actions/build-setup
- name: test
working-directory: api
Expand All @@ -902,7 +902,7 @@ jobs:
- "${{github.workspace}}:/opt/git/diem"
steps:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/build-setup
Expand Down Expand Up @@ -931,7 +931,7 @@ jobs:
- "${{github.workspace}}:/opt/git/diem"
steps:
- run: git config --global --add safe.directory '*'
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/build-setup
Expand Down Expand Up @@ -963,7 +963,7 @@ jobs:
steps:
- run: git config --global --add safe.directory '*'
# Checks-out the Diem website repository under $GITHUB_WORKSPACE, so job can access it
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/cache@v2.1.6
Expand Down Expand Up @@ -1010,7 +1010,7 @@ jobs:
# timeout-minutes: 65
# steps:
# - run: git config --global --add safe.directory '*'
# - uses: actions/checkout@v2.4.0
# - uses: actions/checkout@v4.1.5
# with:
# # This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip
# # On `push` this value will be empty and will "do-the-right-thing"
Expand Down Expand Up @@ -1135,7 +1135,7 @@ jobs:
# timeout-minutes: 65
# steps:
# - run: git config --global --add safe.directory '*'
# - uses: actions/checkout@v2.3.4
# - uses: actions/checkout@v4.1.5
# with:
# This ensures that the tip of the PR is checked out instead of the merge between the base ref and the tip
# On `push` this value will be empty and will "do-the-right-thing"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
env:
AUDIT_SUMMARY_FILE: /tmp/summary
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v4.1.5
with:
ref: ${{ matrix.target-branch }}
- uses: ./.github/actions/build-setup
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
CODECOV_OUTPUT: codecov
MESSAGE_PAYLOAD_FILE: /tmp/message
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v4.1.5
- uses: ./.github/actions/build-setup
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
matrix:
release-branch: [release-1.3, release-1.4]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v4.1.5
with:
ref: ${{ matrix.release-branch }}
- uses: ./.github/actions/build-setup
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
matrix:
target-branch: [latest]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v4.1.5
with:
ref: ${{ matrix.target-branch }}
- uses: ./.github/actions/build-setup
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
name: Docker
url: https://hub.docker.com/u/diem
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v4.1.5
- name: sign in to DockerHub; install image signing cert
uses: ./.github/actions/dockerhub_login
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dep-summaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
dep-auditors-list: ${{ steps.dep-auditors.outputs.list }}
steps:
- name: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
if: ${{ startsWith(github.event_name, 'pull_request') }}
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -37,18 +37,18 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: checkout base ref
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
if: ${{ startsWith(github.event_name, 'pull_request') }}
with:
ref: ${{ steps.fetch-base-ref.outputs.ref }}
path: libra-base
- name: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
if: ${{ github.event_name == 'push' }}
with:
ref: ${{ github.event.after }}
- name: checkout base ref
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
if: ${{ github.event_name == 'push' }}
with:
ref: ${{ github.event.before }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dep-update-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
MAX_ALLOWED_CHARS: 65536
steps:
- name: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: checkout base ref
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.base.sha }}
path: diem-base
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hyperjump-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: (hyperjump) comment
steps:
- name: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
- name: comment
uses: diem/actions/hyperjump-comment@a5fa31ff2b54a544cd88ac912cda469742592e6c
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hyperjump-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: (hyperjump) labels
steps:
- name: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
- name: labels
uses: diem/actions/hyperjump-labels@a5fa31ff2b54a544cd88ac912cda469742592e6c
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hyperjump-request-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: (hyperjump) request-review
steps:
- name: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
- name: request review
uses: diem/actions/hyperjump-request-review@a5fa31ff2b54a544cd88ac912cda469742592e6c
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jsonrpc-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Warn PR author about compatibility requirements
steps:
- name: checkout
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4.1.5
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: comment
Expand Down