From 762acd90a895c49bcf1d662bc0fc707f5510e942 Mon Sep 17 00:00:00 2001 From: OneSignal Date: Thu, 15 May 2025 18:35:12 +0000 Subject: [PATCH] chore: update issue template labels add project workflow --- .github/ISSUE_TEMPLATE/ask-question.yml | 6 +++--- .github/ISSUE_TEMPLATE/bug-report.yml | 4 ++-- .github/ISSUE_TEMPLATE/general-feedback.yml | 6 +++--- .github/workflows/project.yml | 17 +++++++++++++++++ 4 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/project.yml diff --git a/.github/ISSUE_TEMPLATE/ask-question.yml b/.github/ISSUE_TEMPLATE/ask-question.yml index 3da173f..6a3c282 100644 --- a/.github/ISSUE_TEMPLATE/ask-question.yml +++ b/.github/ISSUE_TEMPLATE/ask-question.yml @@ -1,7 +1,7 @@ name: 🙋‍♂️ Ask a question description: Tell us what's on your mind -title: "[question]: " -labels: ["triage"] +title: "[Question]: " +labels: ["Question"] body: - type: markdown attributes: @@ -22,4 +22,4 @@ body: description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/OneSignal/api/blob/main/CONTRIBUTING.md) options: - label: I agree to follow this project's Code of Conduct - required: true \ No newline at end of file + required: true diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index f274813..f99d9f6 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,7 +1,7 @@ name: 🪳 Bug report description: File a bug report title: "[Bug]: " -labels: ["bug", "triage"] +labels: ["Bug"] body: - type: markdown attributes: @@ -48,4 +48,4 @@ body: description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/OneSignal/api/blob/main/CONTRIBUTING.md) options: - label: I agree to follow this project's Code of Conduct - required: true \ No newline at end of file + required: true diff --git a/.github/ISSUE_TEMPLATE/general-feedback.yml b/.github/ISSUE_TEMPLATE/general-feedback.yml index e632759..704514e 100644 --- a/.github/ISSUE_TEMPLATE/general-feedback.yml +++ b/.github/ISSUE_TEMPLATE/general-feedback.yml @@ -1,7 +1,7 @@ name: 📣 General feedback description: Tell us what's on your mind -title: "[Bug]: " -labels: ["triage"] +title: "[Feedback]: " +labels: ["Feedback"] body: - type: markdown attributes: @@ -22,4 +22,4 @@ body: description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/OneSignal/api/blob/main/CONTRIBUTING.md) options: - label: I agree to follow this project's Code of Conduct - required: true \ No newline at end of file + required: true diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml new file mode 100644 index 0000000..69960fe --- /dev/null +++ b/.github/workflows/project.yml @@ -0,0 +1,17 @@ +name: Add issues to project + +on: + issues: + types: + - opened + +jobs: + add-to-project: + runs-on: ubuntu-latest + steps: + - name: Add issue to project + uses: actions/add-to-project@v1.0.2 + with: + # SDK Server Project + project-url: https://github.com/orgs/OneSignal/projects/11 + github-token: ${{ secrets.GH_PROJECTS_TOKEN }}