Skip to content

Commit

Permalink
Merge branch 'main' into add_depth_slice
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Nov 30, 2023
2 parents 2fdebde + bb15c21 commit a15eb61
Showing 1 changed file with 8 additions and 24 deletions.
32 changes: 8 additions & 24 deletions .github/workflows/add-to-dashboard.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,19 @@
name: Add Issue or PR to Dashboard
name: Add Issue or Pull Request to Dashboard

on:
issues:
types: opened

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
add-to-project:
name: Add issue or pull request to project
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && github.event.action == 'opened'
steps:
- name: Add PR to Dashboard
uses: leonsteinhaeuser/[email protected]
- uses: actions/[email protected]
with:
gh_token: ${{ secrets.MY_GITHUB_TOKEN }}
organization: catalystneuro
project_id: 3
resource_node_id: ${{ github.event.pull_request.node_id }}
project-url: https://github.com/orgs/catalystneuro/projects/3
github-token: ${{ secrets.PROJECT_TOKEN }}

0 comments on commit a15eb61

Please sign in to comment.