ruby-changes:70456
From: Nobuyoshi <ko1@a...>
Date: Thu, 23 Dec 2021 18:44:21 +0900 (JST)
Subject: [ruby-changes:70456] bf1444e500 (master): [DOC] Do not push NEWS update to pull-request
https://git.ruby-lang.org/ruby.git/commit/?id=bf1444e500 From bf1444e5006f18e776a408c01b480884ba01d599 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 23 Dec 2021 18:31:17 +0900 Subject: [DOC] Do not push NEWS update to pull-request --- .github/workflows/bundled_gems.yml | 2 +- .github/workflows/check_misc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bundled_gems.yml b/.github/workflows/bundled_gems.yml index 138ada52c3e..12fb2b06e5d 100644 --- a/.github/workflows/bundled_gems.yml +++ b/.github/workflows/bundled_gems.yml @@ -128,4 +128,4 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/bundled_gems.yml#L128 EMAIL: svn-admin@r... GIT_AUTHOR_NAME: git GIT_COMMITTER_NAME: git - if: ${{ steps.show.outcome == 'failure' }} + if: ${{ github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull') && steps.show.outcome == 'failure' }} diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index 9d47d75bc50..17404746c54 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -93,4 +93,4 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/check_misc.yml#L93 EMAIL: svn-admin@r... GIT_AUTHOR_NAME: git GIT_COMMITTER_NAME: git - if: ${{ steps.diff.outcome == 'failure' }} + if: ${{ github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull') && steps.diff.outcome == 'failure' }} -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/