docs: create high level component diagram for OONI components #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# automatically syched from: ooni/pm-tools | |
on: | |
issues: | |
types: | |
- opened | |
- closed | |
- labeled | |
jobs: | |
add-to-project: | |
name: Add issue to project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
if: github.event.action == 'opened' | |
with: | |
# Add to triaging board | |
project-url: https://github.com/orgs/ooni/projects/47 | |
github-token: ${{ secrets.ADD_TO_PROJECT_GH_TOKEN }} | |
labeled: bug, triage | |
label-operator: OR | |
- uses: actions/[email protected] | |
if: github.event.action == 'labeled' && startsWith(github.event.label.name, 'funder/') | |
with: | |
# Add to funder reporting board | |
project-url: https://github.com/orgs/ooni/projects/33 | |
github-token: ${{ secrets.ADD_TO_PROJECT_GH_TOKEN }} | |
- uses: actions/[email protected] | |
# Move closed issues that are not invalid over to the funder reporting board | |
if: github.event.action == 'closed' && github.event.issue.state_reason != 'not_planned' && !contains(github.event.issue.labels.*.name, 'invalid') | |
with: | |
project-url: https://github.com/orgs/ooni/projects/33 | |
github-token: ${{ secrets.ADD_TO_PROJECT_GH_TOKEN }} |