diff --git a/.github/workflows/github-projects.yml b/.github/workflows/github-projects.yml index f75e08ecb1..1c656d0770 100644 --- a/.github/workflows/github-projects.yml +++ b/.github/workflows/github-projects.yml @@ -4,11 +4,42 @@ on: issues: types: - opened + - edited + - deleted + - transferred + - pinned + - unpinned + - closed + - reopened + - assigned + - unassigned - labeled - pull_request: + - unlabeled + - locked + - unlocked + - milestoned + - demilestoned + + pull_request_target: types: - - opened - - labeled + - 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 @@ -110,3 +141,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/136 # Add issue to the Translations project + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: 🌐 Translations, translations + label-operator: OR