You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you specify 0 for fetch-depth in actions/checkout@v2, you can get all history.
Therefore, a git pull of the detached HEAD workaround is not necessary.
Reproduced step
Fix reg-suit/README.md
# .github/workflows/reg.ymlon: [push]jobs:
build:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v2with:
fetch-depth: 0
- name: Use Node.js v10uses: actions/setup-node@v1with:
node-version: "10.x"
- name: npm install, build, and testrun: | npm i
- name: workaround for detached HEADrun: | git checkout ${GITHUB_REF#refs/heads/}
- name: run reg-suitrun: | npx reg-suit run
The text was updated successfully, but these errors were encountered:
Thanks for the great tool : )
Describe the bug
Why
If you specify 0 for fetch-depth in actions/checkout@v2, you can get all history.
Therefore, a git pull of the detached HEAD workaround is not necessary.
Reproduced step
Fix
reg-suit/README.md
The text was updated successfully, but these errors were encountered: