Skip to content

Commit

Permalink
ci: send translations PRs to the translation project (#1071)
Browse files Browse the repository at this point in the history
* ci: send translations PRs to the translation project

* Update github-projects-pr.yml
  • Loading branch information
teolemon authored Nov 16, 2024
1 parent 4db4d5b commit 80fca77
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/github-projects-pr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
name: Add PRs to the new Hunger Games GitHub Project

on:
- pull_request_target
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:
Expand All @@ -14,3 +32,9 @@ jobs:
project-url: https://github.com/orgs/openfoodfacts/projects/40
github-token: ${{ secrets.ADD_TO_PROJECT_PAT || github.token }}
label-operator: AND
- 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, i18n, Translations
label-operator: OR

0 comments on commit 80fca77

Please sign in to comment.