Don't checkout `next` while setting variables

next
Sayan 4 years ago committed by GitHub
parent c4f00de5b5
commit 9b757de028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,6 @@
# Similarly, if the `actions.jsonc` file is modified, the documentation needs to be
# be updated
set -euo pipefail
git checkout next
FILES_CHANGED=$(git diff --numstat HEAD^..HEAD | wc -l)
ACTIONS_CHANGED_COUNT=$(git diff --numstat HEAD^..HEAD -- 'actions.jsonc' | wc -l)
MD_CHANGED_COUNT=$(git diff --numstat HEAD^..HEAD -- '*.md' | wc -l)

Loading…
Cancel
Save