summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-11-11 13:18:39 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-11 13:18:39 -0800
commit719b92eeaf7488e68c1e920ce30b989fc02998b0 (patch)
tree52c095da76cf1fd9a7b62b23095489703941d5ca /.github
parentMerge branch 'js/p4-default-branch' (diff)
parentci: avoid using the deprecated `set-env` construct (diff)
downloadtgif-719b92eeaf7488e68c1e920ce30b989fc02998b0.tar.xz
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 80a961716b..f1483059c7 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 }}