fix: Update tabs when a language is added from the photo details #15577
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 PRs to the relevant GitHub Projects | |
on: | |
- pull_request_target | |
jobs: | |
add-to-project: | |
name: Add issue to project | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' | |
steps: | |
- uses: actions/add-to-project@main | |
with: | |
project-url: https://github.com/orgs/openfoodfacts/projects/7 | |
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/133 # Add issue to the Releases project | |
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, i18n, Translations | |
label-operator: OR |