diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index d162979..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: Bug report -about: Create a bug report to help us improve -title: 'Bug Summary' -labels: 'bug' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. ... -2. ... -3. ... - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**System [please complete the following information]:** - - OS: e.g. [Ubuntu 18.04] - - Language Version: [e.g. Python 3.8] - - Virtual environment: [e.g. Conda] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 3bed8fc..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest a new feature -title: 'Feature Request Summary' -labels: 'enhancement' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when ... - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/general_question.md b/.github/ISSUE_TEMPLATE/general_question.md deleted file mode 100644 index 37c39b3..0000000 --- a/.github/ISSUE_TEMPLATE/general_question.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -name: General question -about: Ask a question about anything related to this project -title: 'Question' -labels: 'question' -assignees: '' - ---- - -**Question** - -Please ask your question here. It can be about the usage of this project, the internals, the implementation or whatever interests you. -Please use the BUG template for bugs and the FEATURE REQUEST template for feature requests. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index f6fd3ac..0000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,19 +0,0 @@ -Many thanks for contributing to this project! - -**PR Checklist** -Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs). - -- [ ] This comment contains a description of changes (with reason) -- [ ] Referenced issue is linked -- [ ] If you've fixed a bug or added code that should be tested, add tests! -- [ ] Documentation in `docs` is updated -- [ ] `CHANGELOG.rst` is updated - -**Description of changes** -Please state what you've changed and how it might affect the user. - -**Technical details** -Please state any technical details such as limitations, reasons for additional dependencies, benchmarks etc. here. - -**Additional context** -Add any other context or screenshots here. diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 1b1836b..ac27e8f 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -44,7 +44,7 @@ jobs: || contains(github.event.inputs.versionTag, 'rc')) }} uses: actions/github-script@v4.0.2 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} script: | await github.request(`POST /repos/${{ github.repository }}/releases`, { tag_name: "${{ github.event.inputs.versionTag }}", @@ -58,7 +58,7 @@ jobs: || contains(github.event.inputs.versionTag, 'rc')) }} uses: actions/github-script@v4.0.2 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} script: | await github.request(`POST /repos/${{ github.repository }}/releases`, { tag_name: "${{ github.event.inputs.versionTag }}", @@ -75,16 +75,19 @@ jobs: - name: Switch to new branch run: git checkout -b release/set-version-to-${{ github.event.inputs.versionTag }} + - name: Set remote branch + run: git push --set-upstream origin release/set-version-to-${{ github.event.inputs.versionTag }} + - name: Checkin commit run: git commit . -m 'Set version to ${{ github.event.inputs.versionTag }}' - - name: Set remote branch - run: git push --set-upstream origin release/set-version-to-${{ github.event.inputs.versionTag }} + - name: Push to Github + run: git push - name: Open PR with version bump uses: actions/github-script@v4.0.2 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} script: | await github.request(`POST /repos/${{ github.repository }}/pulls`, { title: 'Update version to ${{ github.event.inputs.versionTag }}', diff --git a/.github/workflows/java_checkstyle.yml b/.github/workflows/java_checkstyle.yml deleted file mode 100644 index 5184f5c..0000000 --- a/.github/workflows/java_checkstyle.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Java Checkstyle - -on: [push] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 - with: - java-version: 1.8 - - - name: Download Checkstyle - run: wget https://github.com/checkstyle/checkstyle/releases/download/checkstyle-8.31/checkstyle-8.31-all.jar - - - name: Download Google style xml - run: wget https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-8.28/src/main/resources/google_checks.xml - - - name: Run Checkstyle - run: java -jar checkstyle-8.31-all.jar -c google_checks.xml . diff --git a/.github/workflows/nexus-publish-snapshots.yml b/.github/workflows/nexus-publish-snapshots.yml index 4f13267..4fc649b 100644 --- a/.github/workflows/nexus-publish-snapshots.yml +++ b/.github/workflows/nexus-publish-snapshots.yml @@ -10,7 +10,7 @@ on: - development jobs: - build: + publish_snapshots: runs-on: ubuntu-latest @@ -44,4 +44,3 @@ jobs: env: MAVEN_REPO_USERNAME: ${{ secrets.NEXUS_USERNAME }} MAVEN_REPO_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} -