summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-08-08 17:50:50 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-08-08 17:07:16 +0800
commit08ff38f891eb7057fa569ba3ec2833225ff3c830 (patch)
tree11c9e0fdcfea583860847bd0a98749431eaa4be4
parent3b6f1d18f27992871f4475fa3b205e11d5a1c81f (diff)
Added bootstrap job for release workflow for Ruby 3.1
-rw-r--r--.github/workflows/publish.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 0000000000..5d4474d978
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,18 @@
+name: Start release workflow
+on:
+ push:
+ tags:
+ - '*'
+
+jobs:
+ notify:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Build release package
+ run: |
+ curl -L -X POST \
+ -H "Authorization: Bearer ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }}" \
+ -H "Accept: application/vnd.github+json" \
+ -H "X-GitHub-Api-Version: 2022-11-28" \
+ https://api.github.com/repos/ruby/actions/dispatches \
+ -d '{"event_type": "${{ github.ref }}"}'