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 #1466

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
43 changes: 40 additions & 3 deletions .github/workflows/github-projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Loading