build: Github action to auto-add new issues and PRs to project

This commit is contained in:
Syed Muhammad Dawoud Sheraz Ali 2024-01-12 16:10:53 +05:00 committed by GitHub
parent 9f3f74a998
commit 4e3e3e14e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
name: Auto Add Issues and Pull Requests to Project
on:
pull_request:
types:
- opened
issues:
types:
- opened
jobs:
add-to-project:
name: Add issue and bugs to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/overhangio/projects/4
github-token: ${{ secrets.ADD_TO_PROJECT_SECRET_TOKEN }}