Skip to content

Commit 4d11a09

Browse files
committed
Added bootstrap job for release workflow
1 parent 65cca99 commit 4d11a09

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Start release workflow
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
7+
jobs:
8+
notify:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Build release package
12+
run: |
13+
curl -L -X POST \
14+
-H "Authorization: Bearer ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }}" \
15+
-H "Accept: application/vnd.github+json" \
16+
-H "X-GitHub-Api-Version: 2022-11-28" \
17+
https://api.github.com/repos/ruby/actions/dispatches \
18+
-d '{"event_type": "${{ github.ref }}"}'

0 commit comments

Comments
 (0)