From d2b0ea505dc25f5096f1925761de60c8c239a72a Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Tue, 3 Sep 2024 16:37:23 +0200 Subject: [PATCH] ci: Create github-projects.yml --- .github/workflows/github-projects.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/github-projects.yml diff --git a/.github/workflows/github-projects.yml b/.github/workflows/github-projects.yml new file mode 100644 index 00000000..a2c3995e --- /dev/null +++ b/.github/workflows/github-projects.yml @@ -0,0 +1,24 @@ +name: Add bugs to the relevant GitHub Projects +on: + issues: + types: + - opened + - labeled + +jobs: + add-to-design-project: + name: Add issues to the 🎨 openfoodfacts-design or 📚 documentation project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@main + with: + project-url: https://github.com/orgs/openfoodfacts/projects/11 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: 🎨 Mockup available, 🎨 Mockup required + 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