diff --git a/.github/workflows/notify-feeder.yml b/.github/workflows/notify-feeder.yml new file mode 100644 index 0000000..4abdc03 --- /dev/null +++ b/.github/workflows/notify-feeder.yml @@ -0,0 +1,30 @@ +name: Notify Feeder + +on: + push: + tags: + - "v*" + workflow_dispatch: + +permissions: + contents: read + +jobs: + dispatch: + runs-on: ubuntu-24.04 + steps: + - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 + id: app-token + with: + client-id: ${{ secrets.SEISCOMP_BUMP_APP_CLIENT_ID }} + private-key: ${{ secrets.SEISCOMP_BUMP_APP_PRIVATE_KEY }} + owner: platformfuzz + repositories: ringserver-feeder + - name: Dispatch ringserver-feeder bump + env: + GH_TOKEN: ${{ steps.app-token.outputs.token }} + run: | + gh api --method POST repos/platformfuzz/ringserver-feeder/dispatches \ + --input - <