diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 2563005..3c06471 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,7 +1,6 @@ name: Bug report description: Create a report to help us improve or fix something -title: "[BUG]" -labels: bug +labels: ['bug', 'need repro'] body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index e403325..183d114 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,6 +1,5 @@ name: Feature request description: Suggest an idea for Qbox -title: "[SUGGESTION]" labels: enhancement body: - type: markdown diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml deleted file mode 100644 index 2a80921..0000000 --- a/.github/auto_assign.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Set to true to add reviewers to pull requests -addReviewers: true - -# Set to true to add assignees to pull requests -addAssignees: author - -# A list of reviewers to be added to pull requests (GitHub user name) -reviewers: - - /maintenance - -# A list of keywords to be skipped the process that add reviewers if pull requests include it -skipKeywords: - - wip - -# A number of reviewers added to the pull request -# Set 0 to add all the reviewers (default: 0) -numberOfReviewers: 0 \ No newline at end of file diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml deleted file mode 100644 index 7b07dcc..0000000 --- a/.github/workflows/assign.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Assign -on: - issue_comment: - types: created - -permissions: - contents: read - -jobs: - issue_assign: - issues: write - pull-requests: write - runs-on: ubuntu-latest - steps: - - if: github.event.comment.body == 'take' - run: | - echo "Assigning issue ${{ github.event.issue.number }} to ${{ github.event.comment.user.login }}" - curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -d '{"assignees": ["${{ github.event.comment.user.login }}"]}' https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/assignees \ No newline at end of file diff --git a/.github/workflows/issues-project.yml b/.github/workflows/issues-project.yml new file mode 100644 index 0000000..83e331a --- /dev/null +++ b/.github/workflows/issues-project.yml @@ -0,0 +1,16 @@ +name: Issues Project Management + +on: + issues: + types: + - opened + +jobs: + add-to-project: + name: Add issue to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/Qbox-project/projects/4 + github-token: ${{ secrets.PROJECTS_PAT }}