Skip to content

Commit

Permalink
ci: Create github-projects.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teolemon authored Sep 3, 2024
1 parent b059a72 commit d2b0ea5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/github-projects.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d2b0ea5

Please sign in to comment.