ci: send translations PRs to the translation project #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add bugs to the relevant GitHub Projects | |
on: | |
issues: | |
types: | |
- opened | |
- labelled | |
pull_request: | |
types: | |
- opened | |
- labelled | |
jobs: | |
add-to-project: | |
name: Add issue to GitHub Projects | |
if: github.actor != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/24 # Marketing @ Open Food Facts GitHub Project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
label-operator: AND | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/36 # Add issue to the open pet food facts project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: 🐾 Open Pet Food Facts | |
label-operator: OR | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/11 # Add issue to the open products facts project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: 📸 Open Products Facts | |
label-operator: OR | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/37 # Add issue to the open beauty facts project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: 🧴 Open Beauty Facts | |
label-operator: OR | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/4 # Add issue to the packaging project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: 📦 Packaging | |
label-operator: OR | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/25 # Add issue to the documentation project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: 📚 Documentation | |
label-operator: OR | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/5 # Add issue to the folksonomy project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: 🏷️ Folksonomy Project | |
label-operator: OR | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/44 # Add issue to the data quality project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: 🧽 Data quality | |
label-operator: OR | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/82 # Add issue to the search project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: 🔎 Search | |
label-operator: OR | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/41 # Add issue to the producer platform project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: 🏭 Producers Platform | |
label-operator: OR | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/19 # Add issue to the infrastructure project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: infrastructure | |
label-operator: OR | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/92 # Add issue to the Nutri-Score project | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
labeled: 🚦 Nutri-Score | |
label-operator: OR |