Added bootstrap job for release workflow

This commit is contained in:
Hiroshi SHIBATA 2024-08-08 16:41:41 +09:00
parent 65cca99b30
commit 4d11a0960d

18
.github/workflows/publish.yml vendored Normal file
View file

@ -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 }}"}'