Update to BWM #39
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 Issue or PR to Dashboard | |
on: | |
issues: | |
types: opened | |
pull_request: | |
types: | |
- opened | |
jobs: | |
issue_opened: | |
name: Add Issue to Dashboard | |
runs-on: ubuntu-latest | |
if: github.event_name == 'issues' | |
steps: | |
- name: Add Issue to Dashboard | |
uses: leonsteinhaeuser/[email protected] | |
with: | |
gh_token: ${{ secrets.MY_GITHUB_TOKEN }} | |
organization: catalystneuro | |
project_id: 3 | |
resource_node_id: ${{ github.event.issue.node_id }} | |
pr_opened: | |
name: Add PR to Dashboard | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' && github.event.action == 'opened' | |
steps: | |
- name: Add PR to Dashboard | |
uses: leonsteinhaeuser/[email protected] | |
with: | |
gh_token: ${{ secrets.MY_GITHUB_TOKEN }} | |
organization: catalystneuro | |
project_id: 3 | |
resource_node_id: ${{ github.event.pull_request.node_id }} |