diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..95cbae2 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,16 @@ +## Checklist before requesting a review + +- [ ] I have formatted the subject to include ticket number as `[#123] Verb in past tense with dot at the end.` +- [ ] I have added a link to the issue tracker +- [ ] I have provided information in `Changed` section about WHY something was done if this was not a normal implementation +- [ ] I have performed a self-review of my code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have added tests that prove my fix is effective or that my feature works +- [ ] I have run new and existing relevant tests locally with my changes, and they passed +- [ ] I have provided screenshots, where applicable + +## Changed + +1. + +## Screenshots diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 699ff47..8b07383 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,12 +1,14 @@ -name-template: '$NEXT_MINOR_VERSION' -tag-template: '$NEXT_MINOR_VERSION' +name-template: '$RESOLVED_VERSION' +tag-template: '$RESOLVED_VERSION' change-template: '- $TITLE @$AUTHOR (#$NUMBER)' change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +version-resolver: + default: minor template: | ## What's new since $PREVIOUS_TAG $CHANGES - **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$NEXT_MINOR_VERSION + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$RESOLVED_VERSION $CONTRIBUTORS diff --git a/.github/workflows/auto-assign-pr-author.yml b/.github/workflows/assign-author.yml similarity index 71% rename from .github/workflows/auto-assign-pr-author.yml rename to .github/workflows/assign-author.yml index df73ac4..466655f 100644 --- a/.github/workflows/auto-assign-pr-author.yml +++ b/.github/workflows/assign-author.yml @@ -12,5 +12,7 @@ permissions: jobs: assign-author: runs-on: ubuntu-latest + steps: - - uses: toshimaru/auto-author-assign@v2.1.0 + - name: Assign author + uses: toshimaru/auto-author-assign@v2.1.0 diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 0500a91..2998363 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -15,7 +15,9 @@ jobs: permissions: contents: write pull-requests: write + runs-on: ubuntu-latest + steps: - name: Generate CalVer version id: calver @@ -23,7 +25,9 @@ jobs: export VERSION="$(date "+%y.%-m").0" echo ::set-output name=version::${VERSION} echo "Version set to ${VERSION}" - - uses: release-drafter/release-drafter@v6 + + - name: Draft release notes + uses: release-drafter/release-drafter@v6 with: tag: ${{ steps.calver.outputs.version }} name: ${{ steps.calver.outputs.version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aac7c48..62eab0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,17 +15,21 @@ jobs: permissions: contents: write pull-requests: write + runs-on: ubuntu-latest + steps: - - uses: release-drafter/release-drafter@v6 + - name: Draft release notes + uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} push_to_registry: if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest + steps: - - name: Check out the repo + - name: Checkout code uses: actions/checkout@v4 - name: Set up QEMU diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd934c8..14112a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,7 @@ on: jobs: test-docker: runs-on: ubuntu-latest + steps: - name: Check out the repo uses: actions/checkout@v4