summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-06-28 10:38:05 -0400
committerTakashi Kokubun <[email protected]>2024-06-28 10:38:26 -0400
commit01f0dcd336eaba425384e9351e6a1949b351723f (patch)
tree1045d9609914eb3511b5c618bc2a364ee719857d
parent98c923ff4bbeeb4a8f9f63ea2695a38471da42c2 (diff)
Fix missing macOS version in Slack notifications
matrix.os is not set for some jobs.
-rw-r--r--.github/workflows/macos.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 71e1b3c609..3c312829a0 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -39,7 +39,7 @@ jobs:
env:
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
- runs-on: ${{ matrix.os || (github.repository == 'ruby/ruby' && 'macos-arm-oss' || 'macos-14')}}
+ runs-on: ${{ matrix.os || (github.repository == 'ruby/ruby' && 'macos-arm-oss' || 'macos-14') }}
if: >-
${{!(false
@@ -94,7 +94,7 @@ jobs:
- name: Set up Launchable
uses: ./.github/actions/launchable/setup
with:
- os: ${{ matrix.os || (github.repository == 'ruby/ruby' && 'macos-arm-oss' || 'macos-14')}}
+ os: ${{ matrix.os || (github.repository == 'ruby/ruby' && 'macos-arm-oss' || 'macos-14') }}
test-opts: ${{ matrix.test_opts }}
launchable-token: ${{ secrets.LAUNCHABLE_TOKEN }}
builddir: build
@@ -129,7 +129,7 @@ jobs:
- uses: ./.github/actions/slack
with:
- label: ${{ matrix.os }} / ${{ matrix.test_task }}
+ label: ${{ matrix.os || (github.repository == 'ruby/ruby' && 'macos-arm-oss' || 'macos-14') }} / ${{ matrix.test_task }}
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
if: ${{ failure() }}