Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: send translations PRs to the translation project #1071

Merged
merged 2 commits into from
Nov 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading