Create a standardised pr-trigger
repository dispatch event
Dependabot creates PRs. I have secrets. I don't put secrets into dependabot's context even though I should.
If that means nothing to you, then you don't need this action.
- Requires you to have
contents:write
&pull_requests:read
permissions attached to the token (depending on what you're doing). - This uses the repo-dispatch action (so check its dependencies).
jobs:
dispatch:
permissions:
contents: write
pull-requests: read
runs-on: ubuntu-latest
name: PR Trigger
steps:
- name: dispatch
uses: ./pr-trigger