summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-11-11 21:18:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-11-11 21:18:39 (GMT)
commit719b92eeaf7488e68c1e920ce30b989fc02998b0 (patch)
tree52c095da76cf1fd9a7b62b23095489703941d5ca /.github
parentca8870d7c198b658a0e3004e27d1c36305702f7f (diff)
parentcac42e471afae5b1af4f0745388981675b920d91 (diff)
downloadgit-719b92eeaf7488e68c1e920ce30b989fc02998b0.zip
git-719b92eeaf7488e68c1e920ce30b989fc02998b0.tar.gz
git-719b92eeaf7488e68c1e920ce30b989fc02998b0.tar.bz2
Merge branch 'js/ci-github-set-env'
CI update. * js/ci-github-set-env: ci: avoid using the deprecated `set-env` construct
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check-whitespace.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/check-whitespace.yml b/.github/workflows/check-whitespace.yml
index 80a9617..f148305 100644
--- a/.github/workflows/check-whitespace.yml
+++ b/.github/workflows/check-whitespace.yml
@@ -14,7 +14,7 @@ jobs:
steps:
- name: Set commit count
shell: bash
- run: echo "::set-env name=COMMIT_DEPTH::$((1+$COMMITS))"
+ run: echo "COMMIT_DEPTH=$((1+$COMMITS))" >>$GITHUB_ENV
env:
COMMITS: ${{ github.event.pull_request.commits }}