Skip to content

Commit

Permalink
Merge branch 'master' into thematic-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Feb 13, 2025
2 parents e34271a + 98908d2 commit 2cb8369
Show file tree
Hide file tree
Showing 23 changed files with 2,798 additions and 2,602 deletions.
67 changes: 67 additions & 0 deletions .github/ISSUE_TEMPLATE/0-bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Bug Report
description: File a bug report.
title: "[Bug]: "
labels: ["bug", "triage"]
# add issue to the triage board
projects: ["ooni/47"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: dropdown
id: browser
attributes:
label: Browser
description: What browser version are you using?
multiple: false
options:
- Chrome
- Firefox
- Safari
- Brave
- Tor Browser
- Other
validations:
required: true
- type: dropdown
id: platform
attributes:
label: What platform are you running?
multiple: false
options:
- Android
- iOS
- macOS
- Windows
- Linux
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you if we need more info: email, github, etc. (NB this information will be public)?
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://ooni.org/get-involved/code-of-conduct/).
options:
- label: I agree to follow this project's Code of Conduct
required: true
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/1-feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Feature Request
description: Suggest a new feature or improvement.
title: "[Feature]: "
labels: ["enhancement", "triage"]
projects: ["ooni/47"]
body:
- type: markdown
attributes:
value: |
Thanks for suggesting a feature! Please describe what you’re trying to achieve and how this feature would help.
- type: textarea
id: user-story
attributes:
label: User Story
description: |
Describe the feature in the form of a user story. For example:
*As a [type of user], I want [some feature] so that [some goal].*
placeholder: "As a [user], I want [feature] so that [goal]."
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Anything else we should know? Links, references, or potential solutions.
placeholder: "Add any relevant details here."
validations:
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://ooni.org/get-involved/code-of-conduct/).
options:
- label: I agree to follow this project's Code of Conduct
required: true
35 changes: 35 additions & 0 deletions .github/workflows/add_issues_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 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 }}
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
NODE_ENV: 'test'

- name: Upload screenshots on failure
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: cypress-screenshots
Expand Down
Loading

0 comments on commit 2cb8369

Please sign in to comment.