Skip to content

Commit

Permalink
GHA: fetch commit history
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Jan 14, 2024
1 parent e0dace2 commit 82b185b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch history
run: |
year=$(date +%Y)
let prv_year=year-1
git fetch --shallow-since "$prv_year-01-01" origin
- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.GHA_DEPLOY_KEY }}
Expand Down

0 comments on commit 82b185b

Please sign in to comment.