mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Rename token name to more descriptive
This commit is contained in:
parent
1e428366ae
commit
e23941677c
3 changed files with 6 additions and 6 deletions
4
.github/workflows/bundled_gems.yml
vendored
4
.github/workflows/bundled_gems.yml
vendored
|
@ -33,11 +33,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
token: ${{ (github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull')) && secrets.MATZBOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
token: ${{ (github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull')) && secrets.MATZBOT_AUTO_UPDATE_TOKEN || secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: ./.github/actions/setup/directories
|
- uses: ./.github/actions/setup/directories
|
||||||
with:
|
with:
|
||||||
# Skip overwriting MATZBOT_GITHUB_TOKEN
|
# Skip overwriting MATZBOT_AUTO_UPDATE_TOKEN
|
||||||
checkout: '' # false (ref: https://github.com/actions/runner/issues/2238)
|
checkout: '' # false (ref: https://github.com/actions/runner/issues/2238)
|
||||||
|
|
||||||
- name: Set ENV
|
- name: Set ENV
|
||||||
|
|
4
.github/workflows/check_misc.yml
vendored
4
.github/workflows/check_misc.yml
vendored
|
@ -20,12 +20,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
token: ${{ (github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull')) && secrets.MATZBOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
token: ${{ (github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull')) && secrets.MATZBOT_AUTO_UPDATE_TOKEN || secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: ./.github/actions/setup/directories
|
- uses: ./.github/actions/setup/directories
|
||||||
with:
|
with:
|
||||||
makeup: true
|
makeup: true
|
||||||
# Skip overwriting MATZBOT_GITHUB_TOKEN
|
# Skip overwriting MATZBOT_AUTO_UPDATE_TOKEN
|
||||||
checkout: '' # false (ref: https://github.com/actions/runner/issues/2238)
|
checkout: '' # false (ref: https://github.com/actions/runner/issues/2238)
|
||||||
|
|
||||||
# Run this step first to make sure auto-style commits are pushed
|
# Run this step first to make sure auto-style commits are pushed
|
||||||
|
|
4
.github/workflows/default_gems.yml
vendored
4
.github/workflows/default_gems.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
token: ${{ (github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull')) && secrets.MATZBOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|
token: ${{ (github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull')) && secrets.MATZBOT_AUTO_UPDATE_TOKEN || secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- id: gems
|
- id: gems
|
||||||
run: true
|
run: true
|
||||||
|
@ -31,7 +31,7 @@ jobs:
|
||||||
- uses: ./.github/actions/setup/directories
|
- uses: ./.github/actions/setup/directories
|
||||||
with:
|
with:
|
||||||
makeup: true
|
makeup: true
|
||||||
# Skip overwriting MATZBOT_GITHUB_TOKEN
|
# Skip overwriting MATZBOT_AUTO_UPDATE_TOKEN
|
||||||
checkout: '' # false (ref: https://github.com/actions/runner/issues/2238)
|
checkout: '' # false (ref: https://github.com/actions/runner/issues/2238)
|
||||||
if: ${{ steps.gems.outcome == 'success' }}
|
if: ${{ steps.gems.outcome == 'success' }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue