Closed
Description
Hi, thank you for this repo! I'm trying to apply repository_dispatch
in the same repo and pass metadata from one workflow to another. My code is shown below and it's throwing an error Error: Resource not accessible by integration
. Why is it throwing that error? I thought for local dispatch it doesn't need secrets.GITHUB_TOKEN
or PAT?
save-to-dispatch:
runs-on: ubuntu-latest
needs: [set-tag, build-image-and-push]
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
event-type: version-tag
client-payload: '{"dispatch_origin": "production", "tag": "${{ needs.set-tag.outputs.tag }}"}'
Metadata
Metadata
Assignees
Labels
No labels