diff --git a/.github/pr-labeler.yml b/.github/pr-labeler.yml new file mode 100644 index 00000000..b6b6ba55 --- /dev/null +++ b/.github/pr-labeler.yml @@ -0,0 +1,6 @@ +feature: ['feature/*', 'feat/*'] +enhancement: ['enhancement/*','enh/*'] +bug: fix/* +chore: 'chore/*' +dependencies: deps/* +documentation: docs/* diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..84efe44a --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,41 @@ +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: '🚀 Features' + labels: + - "feature" + - "enhancement" + - title: '💣 Breaking Change' + labels: + - "change" + - title: '🐛 Bug Fixes' + labels: + - "bug" + - title: '📝 Documentation' + labels: + - "documentation" + - title: '🔨 Maintenance' + labels: + - "chore" + - "dependencies" +version-resolver: + major: + labels: + - 'major' + minor: + labels: + - 'minor' + patch: + labels: + - 'patch' + default: patch +exclude-labels: + - 'skip-changelog' +template: | + ## New in NGINX Plus Integration with Cloud Autoscaling v$RESOLVED_VERSION + + $CHANGES + + ## Resources + + - Documentation -- https://github.com/nginxinc/nginx-asg-sync/blob/v$RESOLVED_VERSION/README.md diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml new file mode 100644 index 00000000..71267c6f --- /dev/null +++ b/.github/workflows/pr-labeler.yml @@ -0,0 +1,12 @@ +name: PR Labeler +on: + pull_request: + types: [opened] + +jobs: + pr-labeler: + runs-on: ubuntu-latest + steps: + - uses: TimonVS/pr-labeler-action@v3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..cf6d8307 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,14 @@ +name: Release Drafter + +on: + push: + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}