Skip to content

Commit

Permalink
Update github-projects.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teolemon authored Jan 10, 2025
1 parent 313eb58 commit f3a66f2
Showing 1 changed file with 40 additions and 6 deletions.
46 changes: 40 additions & 6 deletions .github/workflows/github-projects.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,44 @@
name: Add bugs and PRs to the Release Smoothie GitHub Project
name: Ventilate issues to the right GitHub projects

on:
issues:
types:
- opened
- labeled
- edited
pull_request:
types:
- opened
- deleted
- transferred
- pinned
- unpinned
- closed
- reopened
- assigned
- unassigned
- labeled
- edited
- unlabeled
- locked
- unlocked
- milestoned
- demilestoned

pull_request_target:
types:
- assigned
- unassigned
- labeled
- unlabeled
- opened
- edited
- closed
- reopened
- synchronize
- converted_to_draft
- ready_for_review
- locked
- unlocked
- review_requested
- review_request_removed
- auto_merge_enabled
- auto_merge_disabled
jobs:
add-to-project:
name: Add issue to project
Expand Down Expand Up @@ -112,3 +140,9 @@ jobs:
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: "autorelease:pending"
label-operator: OR
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/openfoodfacts/projects/111 # Add issue to the Nutri-Patrol project
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: 🛡️ Nutri-Patrol
label-operator: OR

0 comments on commit f3a66f2

Please sign in to comment.