From d5a2040b3709bbce4f91f6077fb278f29520f6d0 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Sat, 3 Aug 2024 12:57:28 +0100 Subject: [PATCH] chore: enable release-drafter (#220) This change will make use of release drafter for drafting changelog updates on https://github.com/ansible/event-driven-ansible/releases so it would be much easier to know what was merged and if a release is needed or not. --- .github/release-drafter.yml | 3 +++ .github/workflows/ack.yml | 11 +++++++++++ .github/workflows/push.yml | 13 +++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/ack.yml create mode 100644 .github/workflows/push.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..b2c18a90 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,3 @@ +--- +# see https://github.com/ansible/team-devtools +_extends: ansible/team-devtools diff --git a/.github/workflows/ack.yml b/.github/workflows/ack.yml new file mode 100644 index 00000000..60853af3 --- /dev/null +++ b/.github/workflows/ack.yml @@ -0,0 +1,11 @@ +--- +# See https://github.com/ansible/devtools/blob/main/.github/workflows/ack.yml +name: ack +"on": + pull_request_target: + types: [opened, labeled, unlabeled, synchronize] + +jobs: + ack: + uses: ansible/team-devtools/.github/workflows/ack.yml@main + secrets: inherit diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 00000000..751e431b --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,13 @@ +--- +# See https://github.com/ansible/devtools/blob/main/.github/workflows/push.yml +name: push +"on": + push: + branches: + - main + - "releases/**" + - "stable/**" + +jobs: + ack: + uses: ansible/team-devtools/.github/workflows/push.yml@main