diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-10-26 23:17:49 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-10-26 23:17:50 -0700 |
commit | bba94659345acda0a0269321083181166300e899 (patch) | |
tree | dc490433667736fda4c10ba7278bd095cfcf180e /.github | |
parent | f9f0cfe785c7e21618dfb86f4c6f0ad2d71530ef (diff) | |
download | ruby-bba94659345acda0a0269321083181166300e899.tar.gz |
Let bundled_gems use matzbot's token for git push
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/bundled_gems.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/bundled_gems.yml b/.github/workflows/bundled_gems.yml index 077031843f..2fb3931423 100644 --- a/.github/workflows/bundled_gems.yml +++ b/.github/workflows/bundled_gems.yml @@ -36,8 +36,13 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + token: ${{ (github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull')) && secrets.MATZBOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - uses: ./.github/actions/setup/directories + with: + # Skip overwriting MATZBOT_GITHUB_TOKEN + checkout: '' # false (ref: https://github.com/actions/runner/issues/2238) - name: Set ENV run: | |