Skip to content

Commit

Permalink
ci: Create github-projects.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teolemon committed Sep 5, 2024
1 parent e698d1d commit 092f591
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/github-projects.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Add bugs to relevant GitHub Projects

on:
issues:
types:
- opened
- labeled

jobs:
add-to-design-project:
name: Add issues to the 🎨 openfoodfacts-design or πŸ“š documentation project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/openfoodfacts/projects/11
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: 🎨 Mockup available, 🎨 Mockup required
label-operator: OR
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/openfoodfacts/projects/25 # Add issue to the documentation project
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: πŸ“š documentation
label-operator: OR
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/openfoodfacts/projects/132 # Add issue to the Top upvoted issues board
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: ⭐ top issue, πŸ‘ Top 10 Issue!
label-operator: OR
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/openfoodfacts/projects/57 # Add issue to the Most impactful issues board
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: 🎯 P0, 🎯 P1
label-operator: OR

0 comments on commit 092f591

Please sign in to comment.