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

Commit

Permalink
Create auto-add-to-project.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
isabensusan authored Mar 19, 2024
1 parent 1bf3a4d commit 700d25d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/auto-add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Adds all issues opened in the /design repo to the Team Dashboard

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.OS_GITHUB_APP_ID }}
private_key: ${{ secrets.OS_GITHUB_APP_PRIVATE_KEY }}

- name: add issue to team dashboard
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/open-sauced/projects/25
github-token: ${{ steps.generate_token.outputs.token }}

0 comments on commit 700d25d

Please sign in to comment.