From ddeb7eb5e4d383a5dc5923d554cf5b132fa271a3 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Fri, 13 Sep 2024 16:14:52 +0200 Subject: [PATCH] ci: Update github-projects.yml (#965) * ci: Update github-projects.yml * Update github-projects.yml * Update github-projects.yml * ci: Prices --- .github/workflows/github-projects.yml | 76 +++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-projects.yml b/.github/workflows/github-projects.yml index f3e3918830..f4e69b549a 100644 --- a/.github/workflows/github-projects.yml +++ b/.github/workflows/github-projects.yml @@ -4,9 +4,11 @@ on: issues: types: - opened + - labeled pull_request: types: - opened + - labeled jobs: add-to-project: name: Add issue to project @@ -18,21 +20,87 @@ jobs: 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/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 || github.token }} - labeled: packaging + 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 + 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 + 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 + - uses: actions/add-to-project@main + with: + project-url: https://github.com/orgs/openfoodfacts/projects/132 # Add issue to the Top upvoted issues board + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: โญ top issue, ๐Ÿ‘ Top 10 Issue! + label-operator: OR + - uses: actions/add-to-project@main + with: + project-url: https://github.com/orgs/openfoodfacts/projects/57 # Add issue to the Most impactful issues board + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: ๐ŸŽฏ P0, ๐ŸŽฏ P1 + label-operator: OR + - uses: actions/add-to-project@main + with: + project-url: https://github.com/orgs/openfoodfacts/projects/105 # Add issue to the Prices project + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: ๐Ÿ’ธ Prices label-operator: OR