Artifact b8f8d1b92a6cb0faedea4f38dd7ecf26553e387087d02d42304dbf3b914ec7f5:
- File
.github/workflows/release.yml
— part of check-in
[e831226826]
at
2026-04-30 14:22:30
on branch trunk
— feat(ci): dispatch upstream-bump to bones on tag
After goreleaser publishes a release, fires repository_dispatch to danmestas/bones so it can open a chore-bump PR. Uses DISPATCH_PAT (fine-grained, scoped to bones contents:write).
This closes the edgesync→bones link of the cascade. Combined with PR #6 (libfossil's release.yml), pushing a libfossil tag will fire the full chain: libfossil tag → EdgeSync bump PR → merge+tag → bones bump PR. (user: [email protected], size: 1404) [annotate] [blame] [check-ins using] [more...]
name: release on: push: tags: - 'v*' permissions: contents: write jobs: release: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Go uses: actions/setup-go@v5 with: go-version: '1.26.0' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: '~> v2' args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} HOMEBREW_PAT_TOKEN: ${{ secrets.HOMEBREW_PAT_TOKEN }} - name: Dispatch downstream bump env: GH_TOKEN: ${{ secrets.DISPATCH_PAT }} DOWNSTREAM: bones MODULE_PATH: github.com/danmestas/EdgeSync run: | gh api -X POST "repos/danmestas/${DOWNSTREAM}/dispatches" \ -f event_type=upstream-bump \ -f client_payload[repo]=${{ github.event.repository.name }} \ -f client_payload[module_path]=${MODULE_PATH} \ -f client_payload[version]=${{ github.ref_name }} \ -f client_payload[release_url]=${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }} \ -f client_payload[tag_sha]=${{ github.sha }} \ -f client_payload[actor]=${{ github.actor }}