Skip to content

github-actions

github-actions #1

name: Add PRs to the Marketing GitHub Project
on:
pull_request:
types:
- opened
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
permissions:
issues: write
repository-projects: write
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/openfoodfacts/projects/24
github-token: ${{ secrets.ADD_TO_PROJECT_PAT || github.token }}
label-operator: AND