Skip to content

Commit

Permalink
ci: Update github-projects.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teolemon authored Sep 30, 2024
1 parent 6e2dbe4 commit 2aa26db
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/github-projects.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
name: Add bugs to the relevant GitHub Projects
name: Add bugs and PRs to the relevant GitHub Projects

on:
issues:
types:
- opened
- labeled
- transferred
pull_request:
types:
- opened
- labeled
jobs:
add-to-design-project:
name: 🎨 Add issue to the openfoodfacts-design project
name: Add bugs and PRs to the relevant GitHub Projects
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
Expand All @@ -25,7 +29,7 @@ jobs:
label-operator: OR
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/openfoodfacts/projects/11 # Add issue to the open products facts project
project-url: https://github.com/orgs/openfoodfacts/projects/43 # Add issue to the open products facts project
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: 📸 Open Products Facts
label-operator: OR
Expand Down Expand Up @@ -81,7 +85,7 @@ jobs:
with:
project-url: https://github.com/orgs/openfoodfacts/projects/92 # Add issue to the Nutri-Score project
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: 🚥 Nutri-Score game
labeled: 🚦 Nutri-Score
label-operator: OR
- uses: actions/add-to-project@main
with:
Expand All @@ -95,3 +99,15 @@ jobs:
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: 🎯 P0, 🎯 P1
label-operator: OR
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/openfoodfacts/projects/105 # Add issue to the Prices project
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: 💸 Prices
label-operator: OR
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/openfoodfacts/projects/133 # Add issue to the Releases project
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: "autorelease:pending"
label-operator: OR

0 comments on commit 2aa26db

Please sign in to comment.