mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
CI: Make the notes-push.yml workflow fetch the entire repo history
This change makes the notes-push.yml·workflow fetch the entire history on each push, rather than just the one HEAD commit it otherwise sees. Because we push multiple commits from PR merges, git-gloss need access on each push to an arbitrary number of commits (however many commits were pushed in a PR that got merged). There’s no easy way from GH Actions to know how may commits got pushed at the same time. So we instead fetch the whole history.
This commit is contained in:
parent
e8f4ae487d
commit
4a2d5bcf89
Notes:
github-actions[bot]
2024-07-20 07:31:33 +00:00
Author: https://github.com/sideshowbarker Commit: https://github.com/LadybirdBrowser/ladybird/commit/4a2d5bcf895 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/728
1 changed files with 3 additions and 1 deletions
4
.github/workflows/notes-push.yml
vendored
4
.github/workflows/notes-push.yml
vendored
|
@ -9,7 +9,9 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: fregante/setup-git-user@v2
|
||||
- run: |
|
||||
git fetch origin "refs/notes/*:refs/notes/*"
|
||||
|
|
Loading…
Reference in a new issue