diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2025-10-03 22:50:49 -0700 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-10-03 22:50:50 -0700 |
| commit | 63de26c4ec9514d54545fe55d41f060c0acacf20 (patch) | |
| tree | b786e0af0fa777dadc383caaf810d28b0b7563cb | |
| parent | 54c716dad6a7ce8a350176397469792b32a0f27a (diff) | |
Run notify-slack-commits before `make up` too
| -rw-r--r-- | .github/workflows/check_misc.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index 31d6695d44..9bcc680096 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -23,13 +23,7 @@ jobs: fetch-depth: 100 # for notify-slack-commits token: ${{ (github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull')) && secrets.MATZBOT_AUTO_UPDATE_TOKEN || secrets.GITHUB_TOKEN }} - - uses: ./.github/actions/setup/directories - with: - makeup: true - # Skip overwriting MATZBOT_AUTO_UPDATE_TOKEN - checkout: '' # false (ref: https://github.com/actions/runner/issues/2238) - - # Run this step first to make the notification available before any other failure + # Run this step first (even before `make up` in the next step) to make the notification available before any other failure - name: Notify commit to Slack run: ruby tool/notify-slack-commits.rb "$GITHUB_OLD_SHA" "$GITHUB_NEW_SHA" refs/heads/master env: @@ -41,6 +35,12 @@ jobs: if: ${{ github.repository == 'ruby/ruby' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} continue-on-error: true # The next auto-style should always run + - uses: ./.github/actions/setup/directories + with: + makeup: true + # Skip overwriting MATZBOT_AUTO_UPDATE_TOKEN + checkout: '' # false (ref: https://github.com/actions/runner/issues/2238) + # Run this step early to make sure auto-style commits are pushed - name: Auto-correct code styles run: | |
