Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Create project.yml
Browse files Browse the repository at this point in the history
automation for adding issues and pull requests to gh projects

Signed-off-by: Mike Audi <[email protected]>
  • Loading branch information
mike-audi authored Sep 5, 2023
1 parent 7713787 commit 9e67b9b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Project

on:
issues:
types:
- opened
pull_request:
types:
- opened

jobs:
add-issue:
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/tiki/projects/1
github-token: ${{ secrets.GH_PROJECT_PAT }}
add-pr:
if: ${{ github.event_name == 'pull_request' && github.event.action == 'opened' }}
name: Add pull request to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/tiki/projects/1
github-token: ${{ secrets.GH_PROJECT_PAT }}

0 comments on commit 9e67b9b

Please sign in to comment.