Re-trigger Workflows on open PRs when base updates
ActionsAfter base get some updates (PR merged), re-run specific workflow of all open PRs
1.0.2
LatestBy GeekEast
Tags
(1)- token: the user's access token
- workflow_filename: the workflow file name
name: Dispatch Merge Event
on:
pull_request:
branches:
- main
types: [closed]
jobs:
publish-merge-event:
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest
steps:
- name: Trigger Open PRs workflow
uses: GeekEast/trigger-open-pr-workflow@1.0.7
with:
token: ${{ secrets.ACCESS_TOKEN }} # genereate a personal token, don't use the default secrets.GTIHUB_TOKEN
workflow_filename: 'pipeline.yml'
Re-trigger Workflows on open PRs when base updates is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.