Skip to content

Commit

Permalink
ci: add depth for fetching all branches and history (#169)
Browse files Browse the repository at this point in the history
Issue #, if available:

*Description of changes:*
Add ` fetch-depth: 0` to fetch all history for all branches and tags
inorder to checkout stable commit.

*Testing done:*


- [X] I've reviewed the guidance in CONTRIBUTING.md


#### License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

Signed-off-by: Vishwas Siravara <siravara@amazon.com>
  • Loading branch information
vsiravar authored Sep 20, 2023
1 parent 8d77e68 commit e3bce19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/submodulesync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
token: ${{ secrets.GITHUB_TOKEN }}
- name: Update sub modules
Expand Down

0 comments on commit e3bce19

Please sign in to comment.