-
-
Notifications
You must be signed in to change notification settings - Fork 39
40 lines (38 loc) · 1.14 KB
/
github-projects-pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Add PRs to the new Hunger Games GitHub Project
on:
pull_request_target:
types:
- assigned
- unassigned
- labeled
- unlabeled
- opened
- edited
- closed
- reopened
- synchronize
- converted_to_draft
- ready_for_review
- locked
- unlocked
- review_requested
- review_request_removed
- auto_merge_enabled
- auto_merge_disabled
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
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/40
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/136 # Add issue to the Translations project
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: 🌐 Translations, translations, i18n, Translations
label-operator: OR