Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geekeast/trigger-open-pr-workflow

Workflow to re-trigger workflow of all open PRs when base updates
https://github.com/geekeast/trigger-open-pr-workflow

workflow-dispatch

Last synced: about 1 month ago
JSON representation

Workflow to re-trigger workflow of all open PRs when base updates

Awesome Lists containing this project

README

        

# trigger-open-pr-workflow

## Inputs
- token: the user's access token
- workflow_filename: the workflow file name

```yml
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/[email protected]
with:
token: ${{ secrets.ACCESS_TOKEN }} # genereate a personal token, don't use the default secrets.GTIHUB_TOKEN
workflow_filename: 'pipeline.yml'
```

## Sample Project
- [worfklow-trigger-me](https://github.com/GeekEast/workflow-trigger-me)