Add pull requests to workflow automation #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: add_issues_to_project | |
on: | |
issues: | |
types: [opened, reopened] | |
pull_request: | |
types: [opened, reopened] | |
branches: [main] | |
jobs: | |
add-to-project: | |
name: Add issue to project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
# setting the project url so this workflow can be used in other repos | |
project-url: https://github.com/orgs/tuva-health/projects/3 | |
github-token: ${{ secrets.PROJECT_TOKEN }} |