Files
Hiroshi SHIBATAandClaude Opus 4.6 d47d97c938 Add top-level permissions to workflows missing them
Restrict the default GITHUB_TOKEN permissions to contents:read
for workflows that had no top-level permissions block, as flagged
by Scorecard's TokenPermissionsID check.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 12:45:30 +09:00

22 lines
539 B
YAML

name: Start release workflow
on:
push:
tags:
- '*'
permissions:
contents: read
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\"}"