From de4b8982466d4d6de2b2fa668e2bf68a7e211001 Mon Sep 17 00:00:00 2001 From: L0RD-ZER0 <68327382+L0RD-ZER0@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:16:46 +0530 Subject: [PATCH 1/3] Add dependabot to manage dependency updates --- .github/dependabot.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..4bda8cf --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: "weekly" + reviewers: + - mrrobot47 + - package-ecosystem: docker + directory: "/" + schedule: + interval: "weekly" + reviewers: + - mrrobot47 From 0542e11baee99a524bbc7bfa96d202c008daf683 Mon Sep 17 00:00:00 2001 From: L0RD-ZER0 <68327382+L0RD-ZER0@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:17:53 +0530 Subject: [PATCH 2/3] Add a workflow for draft releases on tag push --- .github/workflows/release.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..6916a10 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,26 @@ +on: + push: + tags: + - "v*" +name: Release Creation +jobs: + release: + name: Create a Draft Release on GitHub + runs-on: ubuntu-latest + steps: + - name: Get Release Name + id: get_release_name + run: | + echo "release_name=${GITHUB_REF_NAME/v/Version }" >> $GITHUB_ENV + - name: Publish a Draft Release + uses: softprops/action-gh-release@v2 + with: + body: | + We present you the new release of Action Slack Notify. + + **Changelog:** + draft: true # Creates a Draft Release + name: ${{ steps.get_release_name.outputs.release_name }} + generate_release_notes: true + append_body: true + From 7a6e33c77d659b2280fccf8838e31cae08291f82 Mon Sep 17 00:00:00 2001 From: Riddhesh Sanghvi Date: Mon, 10 Jun 2024 16:33:40 +0530 Subject: [PATCH 3/3] Update release body --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6916a10..6dfdc2c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,7 +16,7 @@ jobs: uses: softprops/action-gh-release@v2 with: body: | - We present you the new release of Action Slack Notify. + ## What's Changed **Changelog:** draft: true # Creates a Draft Release