diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index e972e2c..e3e5966 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,51 +1,3 @@ -# Format and labels used aim to match those used by Ansible project -name-template: "$RESOLVED_VERSION" -tag-template: "$RESOLVED_VERSION" -categories: - - title: "Major Changes" - labels: - - "major" # c6476b - - title: "Minor Changes" - labels: - - "feature" # 006b75 - - "enhancement" # ededed - - "refactoring" - - title: "Bugfixes" - labels: - - "bug" # fbca04 - - title: "Deprecations" - labels: - - "deprecated" # fef2c0 -exclude-labels: - - "skip-changelog" -version-resolver: - major: - labels: - - "major" - minor: - labels: - - "minor" - - "feature" - - "enhancement" - - "refactoring" - patch: - labels: - - "patch" - - "bug" - - "deprecated" - default: patch -autolabeler: - - label: "skip-changelog" - title: "/chore/i" - - label: "bug" - title: "/fix/i" - - label: "enhancement" - title: "/(enhance|improve)/i" - - label: "feature" - title: "/feature/i" - - label: "dreprecated" - title: "/deprecat/i" -template: | - $CHANGES - - Kudos goes to: $CONTRIBUTORS +--- +# see https://github.com/ansible-community/devtools +_extends: ansible-community/devtools diff --git a/.github/workflows/ack.yml b/.github/workflows/ack.yml new file mode 100644 index 0000000..58690bd --- /dev/null +++ b/.github/workflows/ack.yml @@ -0,0 +1,10 @@ +--- +# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/ack.yml +name: ack +on: + pull_request_target: + types: [opened, labeled, unlabeled, synchronize] + +jobs: + ack: + uses: ansible-community/devtools/.github/workflows/ack.yml@main diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml deleted file mode 100644 index 32ca84b..0000000 --- a/.github/workflows/labels.yml +++ /dev/null @@ -1,21 +0,0 @@ -# See https://github.com/jesusvasquez333/verify-pr-label-action -name: labels -on: - pull_request_target: - types: [opened, labeled, unlabeled, synchronize] - -jobs: - check_pr_labels: - runs-on: ubuntu-latest - name: verify - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Verify PR label action - uses: jesusvasquez333/verify-pr-label-action@v1.4.0 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" - valid-labels: "bug, enhancement, feature, refactoring, major, deprecated, skip-changelog" - invalid-labels: "help wanted, invalid, feedback-needed, incomplete" - pull-request-number: "${{ github.event.pull_request.number }}" - disable-reviews: true diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..19f658c --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,13 @@ +--- +# See https://github.com/ansible-community/devtools/blob/main/.github/workflows/push.yml +name: push +on: + push: + branches: + - main + - "releases/**" + - "stable/**" + +jobs: + ack: + uses: ansible-community/devtools/.github/workflows/push.yml@main diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index b106bf2..0000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: release-drafter - -on: - push: - # branches to consider in the event; optional, defaults to all - branches: - - main - - "releases/**" - - "stable/**" - -jobs: - update_release_draft: - runs-on: ubuntu-20.04 - steps: - # Drafts your next Release notes as Pull Requests are merged into "main" - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}