Skip to content

ワークフローの拡張子を短縮 #1

ワークフローの拡張子を短縮

ワークフローの拡張子を短縮 #1

name: Call dispatcher
on:
push:
branches:
- main
paths:
- templates/**
- src/**
- .github/workflows/**
jobs:
call:
name: Call dispatchers
runs-on: ubuntu-latest
strategy:
matrix:
target-repository: ${{ fromJSON(vars.TARGET_REPOSITORIES) }}
steps:
- name: Call dispatcher
run: |
curl https://api.github.com/repos/Gakuto1112/${{ matrix.target-repository }}/dispatches \
-X POST \
-H 'Accept: application/vnd.github+json' \
-H 'Authorization: Bearer ${{ secrets.DISPATCH_TOKEN }}' \
-d '{"event_type": "dispatch_readme"}'