From 36b0cd9a59c792b286d952cfbf6c2b657d4668b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Alejandro=20Marug=C3=A1n?= Date: Tue, 6 Aug 2024 20:09:06 +0200 Subject: [PATCH] chore: clean github templates [skip ci] --- .github/ISSUE_TEMPLATE/bug_report.yaml | 88 --------------------- .github/ISSUE_TEMPLATE/feature_request.yaml | 40 ---------- .github/PULL_REQUEST_TEMPLATE.md | 32 -------- .github/workflows/auto-assign.yaml | 7 +- .github/workflows/check-changes.yaml | 2 +- 5 files changed, 5 insertions(+), 164 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml deleted file mode 100644 index df6db55..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ /dev/null @@ -1,88 +0,0 @@ -name: Bug report -description: Create a bug report -title: "[opencti] Bug title" -labels: [bug] -body: - - type: markdown - attributes: - value: Please be cautious with the sensitive information/logs while filing the issue. - - - type: textarea - id: description - attributes: - label: Describe the bug a clear and concise description of what the bug is. - validations: - required: true - - - type: input - id: helm-version - attributes: - label: What's your helm version? - description: Output of `#~ helm version` - validations: - required: true - - - type: input - id: kubectl-version - attributes: - label: What's your kubectl version? - description: Output of `#~ kubectl version` - validations: - required: true - - - type: input - id: chart-version - attributes: - label: Chart version - description: Enter the version of the chart that you encountered this bug. - validations: - required: true - - - type: textarea - id: explain-bug - attributes: - label: Explain bug - description: Explain what happened. - validations: - required: false - - - type: textarea - id: expected-result - attributes: - label: What you expected to happen? - description: Enter what you expected to happen. - validations: - required: false - - - type: textarea - id: reproduce-bug - attributes: - label: How to reproduce it? - description: Explain step-by-step if is possible. - validations: - required: false - - - type: textarea - id: chart-values - attributes: - label: Enter the changed values of values.yaml? - description: Please enter only values which differ from the defaults. Enter `NONE` if nothing's changed. - placeholder: 'key: value' - validations: - required: false - - - type: textarea - id: helm-command - attributes: - label: Enter the command that you execute when chart failing/misfunctioning - description: Enter the command as-is as how you executed. - placeholder: helm install [RELEASE] opencti/opencti --version [VERSION] -f values.yaml --debug - validations: - required: true - - - type: textarea - id: more-info - attributes: - label: More info - validations: - required: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml deleted file mode 100644 index 6eae686..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: Feature request -description: Suggest an idea to improve this project -title: "[opencti] Feature title" -labels: [enhancement] -body: - - type: markdown - attributes: - value: Thanks for taking the time to fill out this bug report! - - - type: textarea - id: description - attributes: - label: Is your feature request related to a problem? - description: Description of what the problem is. - validations: - required: true - - - type: textarea - id: proposals - attributes: - label: Describe the solution you'd like - description: Description of what you want to happen. - validations: - required: true - - - type: textarea - id: improves - attributes: - label: Describe alternatives you've considered - description: Description of any alternative solutions or features you've considered. If nothing, please enter `NONE` - validations: - required: true - - - type: textarea - id: more-info - attributes: - label: Additional context - description: Add any other context or screenshots about the feature request here. - validations: - required: false diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 9d0c063..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,32 +0,0 @@ - -#### What this PR does / why we need it: - -#### Which issue this PR fixes -*(optional, in `fixes #(, fixes #, ...)` format, will close that issue when PR gets merged)* - - fixes # - -#### Special notes for your reviewer: - -#### Checklist - -- [ ] [DCO](https://github.com/devops-ia/helm-opencti/blob/main/CONTRIBUTING.md#sign-off-your-work) signed -- [ ] Chart version bumped diff --git a/.github/workflows/auto-assign.yaml b/.github/workflows/auto-assign.yaml index d618b5d..8fcf173 100644 --- a/.github/workflows/auto-assign.yaml +++ b/.github/workflows/auto-assign.yaml @@ -3,7 +3,7 @@ on: issues: types: [opened] pull_request: - types: [opened] + types: [opened, edited, synchronize, reopened] jobs: run: runs-on: ubuntu-latest @@ -15,5 +15,6 @@ jobs: - name: 'auto-assign issue' uses: pozil/auto-assign-issue@v2 with: - repo-token: ${{ secrets.PAT_GITHUB }} - teams: devops-ia + repo-token: ${{ secrets.PAT_GITHUB }} + teams: devops-ia + removePreviousAssignees: true diff --git a/.github/workflows/check-changes.yaml b/.github/workflows/check-changes.yaml index 0d33913..5128c44 100644 --- a/.github/workflows/check-changes.yaml +++ b/.github/workflows/check-changes.yaml @@ -52,7 +52,7 @@ jobs: if: steps.check_changes.outputs.version_changed == 'true' uses: peter-evans/create-pull-request@v6 with: - token: ${{ secrets.GITHB_PERSONAL_TOKEN }} + token: ${{ secrets.PAT_GITHUB }} commit-message: "fix: bump OpenCTI version to ${{ steps.latest_version.outputs.latest_version }}" signoff: true branch: fix/upgrade-opencti-appversion-${{ steps.latest_version.outputs.latest_version }}