summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2023-07-03 21:42:25 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2023-07-04 20:13:49 +0900
commitf7732d63f4b975cda5463932384b255e85e17642 (patch)
treef3bf074c58346705c2b98d1361bac22cb4913551 /.github
parentb0977e402ae546456cdefab97b75f87deaddd9c2 (diff)
Use `${{}}` for if statement [ci skip]
Looking at `git log` it seems multiple members of the team prefer this style. Let us follow the tradition.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8020
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check_misc.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml
index f7dd6e3c8d..d5dfad62e1 100644
--- a/.github/workflows/check_misc.yml
+++ b/.github/workflows/check_misc.yml
@@ -47,7 +47,7 @@ jobs:
mkdir -p .downloaded-cache
ln -s .downloaded-cache/$data .
curl -O -R -z ./$data https://stdgems.org/$data
- if: steps.gems.outcome == 'success'
+ if: ${{ steps.gems.outcome == 'success' }}
- name: Make default gems list
run: |
@@ -66,19 +66,19 @@ jobs:
f.puts gems
end
shell: ruby --disable=gems {0}
- if: steps.gems.outcome == 'success'
+ if: ${{ steps.gems.outcome == 'success' }}
- name: Maintain updated gems list in NEWS
run: |
ruby tool/update-NEWS-gemlist.rb default
- if: steps.gems.outcome == 'success'
+ if: ${{ steps.gems.outcome == 'success' }}
- name: Check diffs
id: diff
run: |
git diff --color --no-ext-diff --ignore-submodules --exit-code NEWS.md
continue-on-error: true
- if: steps.gems.outcome == 'success'
+ if: ${{ steps.gems.outcome == 'success' }}
- name: Commit
run: |
git pull --ff-only origin ${GITHUB_REF#refs/heads/}