aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-20 19:25:33 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-20 19:33:58 +0900
commit26c9ef6a890f0d4e51caefd303fd93356bb4d596 (patch)
tree38494a8239d80746055e52662af2a488d8882ecd
parent7700e9a5cc617db9c283a8b409faffab98e2d602 (diff)
downloadruby-26c9ef6a890f0d4e51caefd303fd93356bb4d596.tar.gz
[DOC] Skip tests if only NEWS.md changed
-rw-r--r--.github/workflows/bundled_gems.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/bundled_gems.yml b/.github/workflows/bundled_gems.yml
index 9bb1667ca6..cc611d4579 100644
--- a/.github/workflows/bundled_gems.yml
+++ b/.github/workflows/bundled_gems.yml
@@ -113,7 +113,12 @@ jobs:
- name: Commit
run: |
git pull --ff-only origin ${GITHUB_REF#refs/heads/}
- git commit --message="Update bundled gems list at ${TODAY}"
+ message="Update bundled gems list at "
+ if [ ${{ steps.diff.outcome }} = success ]; then
+ git commit --message="${message}${GITHUB_SHA:0:30} [ci skip]"
+ else
+ git commit --message="${message}${TODAY}"
+ fi
git push origin ${GITHUB_REF#refs/heads/}
env:
EMAIL: svn-admin@ruby-lang.org