From 72fb2ffe72701f9b4e6d7b30a992e4a3382f691a Mon Sep 17 00:00:00 2001 From: Alexei Chetroi Date: Mon, 3 Feb 2025 16:42:26 -0500 Subject: [PATCH 1/2] Add release drafter --- .github/release-drafter.yml | 27 +++++++++++++++++++++++++ .github/workflows/release-drafter.yaml | 28 ++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yaml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..75f2ceb --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,27 @@ +version-template: '$MAJOR.$MINOR' +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' + +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +template: | + ## Changes + + $CHANGES + +categories: + - title: '🚀 Features' + labels: + - 'feature' + - 'enhancement' + - title: '🐛 Bug Fixes' + labels: + - 'fix' + - 'bugfix' + - 'bug' + - title: '🧰 Maintenance' + labels: + - 'chore' + - 'documentation' + +exclude-labels: + - 'skip-changelog' diff --git a/.github/workflows/release-drafter.yaml b/.github/workflows/release-drafter.yaml new file mode 100644 index 0000000..9970229 --- /dev/null +++ b/.github/workflows/release-drafter.yaml @@ -0,0 +1,28 @@ +name: "Draft Release notes" + +# Controls when the action will run. +on: + push: + branches: [dev, main] + pull_request: + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + update_draft_release: + permissions: + # write permission is required to create a github release + contents: write + # write permission is required for autolabeler + # otherwise, read permission is required at least + pull-requests: write + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into "dev" or "main" + - uses: release-drafter/release-drafter@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + commitish: dev From 57b252bb21b760c060528e80e3f74a00bc81d0b3 Mon Sep 17 00:00:00 2001 From: Alexei Chetroi Date: Mon, 3 Feb 2025 16:56:51 -0500 Subject: [PATCH 2/2] Add dependabot --- .github/dependabot.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..eb2b3b2 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +# Set update schedule for GitHub Actions + +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every week + interval: "weekly"