Skip to content

Commit

Permalink
Use consistent Checkout name, default depth is 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
briantting committed Oct 16, 2024
1 parent 787969b commit fd7142b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
sudo apt update
sudo apt install python3 gn pipx
pipx install pre-commit
- name: Checkout files
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ jobs:
)
timeout-minutes: 10
steps:
- name: Checkout files
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Remove runtest if exists
if: github.event_name == 'pull_request'
continue-on-error: true # Ignore this step if we cannot remove the label.
Expand Down Expand Up @@ -85,10 +83,8 @@ jobs:
needs: [initialize]
runs-on: [self-hosted, chrobalt-linux-runner]
steps:
- name: Checkout files
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
# Handle GitHub registry used for everything other than pull requests off forked repos.
- name: Login to GitHub Docker Registry
if: ${{ (github.event_name != 'pull_request') || (github.event.pull_request.head.repo.full_name == github.repository) }}
Expand Down

0 comments on commit fd7142b

Please sign in to comment.