ruby-changes:70358
From: Nobuyoshi <ko1@a...>
Date: Mon, 20 Dec 2021 19:34:15 +0900 (JST)
Subject: [ruby-changes:70358] 26c9ef6a89 (master): [DOC] Skip tests if only NEWS.md changed
https://git.ruby-lang.org/ruby.git/commit/?id=26c9ef6a89 From 26c9ef6a890f0d4e51caefd303fd93356bb4d596 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 20 Dec 2021 19:25:33 +0900 Subject: [DOC] Skip tests if only NEWS.md changed --- .github/workflows/bundled_gems.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bundled_gems.yml b/.github/workflows/bundled_gems.yml index 9bb1667ca6d..cc611d45790 100644 --- a/.github/workflows/bundled_gems.yml +++ b/.github/workflows/bundled_gems.yml @@ -113,7 +113,12 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/bundled_gems.yml#L113 - 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@r... -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/