Skip to content

Commit

Permalink
💚 fix checkout-v2 fetch depths (#832)
Browse files Browse the repository at this point in the history
Signed-off-by: Rintaro Okamura <[email protected]>
  • Loading branch information
rinx authored Nov 12, 2020
1 parent 098c103 commit 2e09b7e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/chatops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,11 @@ jobs:
USERNAME: ${{ steps.check_comments_rebase.outputs.COMMENTER_USERNAME }}
- uses: actions/checkout@v2
if: steps.check_comments_rebase.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true'
with:
fetch-depth: 0
- name: Automatic Rebase
if: steps.check_comments_rebase.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true'
uses: cirrus-actions/rebase@1.2
uses: cirrus-actions/rebase@1.4
env:
GITHUB_TOKEN: ${{ secrets.DISPATCH_TOKEN }}
- name: failure comment
Expand Down Expand Up @@ -246,6 +248,8 @@ jobs:
API_URL: ${{ github.event.issue.comments_url }}
- uses: actions/checkout@v2
if: steps.check_comments_gen_test.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true'
with:
fetch-depth: 0
- name: Generate tests and push
if: steps.check_comments_gen_test.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true'
run: |
Expand Down Expand Up @@ -350,6 +354,8 @@ jobs:
API_URL: ${{ github.event.issue.comments_url }}
- uses: actions/checkout@v2
if: steps.check_comments_format.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true'
with:
fetch-depth: 0
- name: Fetch golang version
if: steps.check_comments_format.outputs.BOOL_TRIGGERED == 'true' && steps.check_permissions.outputs.EXECUTABLE == 'true'
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- name: Check out code.
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Helm version
run: |
helm version
Expand Down Expand Up @@ -67,6 +69,8 @@ jobs:
steps:
- name: Check out code.
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Helm version
run: |
helm version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update_pull_request_and_issue_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- name: Check out code.
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Push to master
run: |
TIMESTAMP=$(date +%Y%m%d_%H%M%S_%3N)
Expand Down

0 comments on commit 2e09b7e

Please sign in to comment.