From e7c995b09b202da242636e633d9411ba00f3195c Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Mon, 21 Nov 2022 13:47:55 +0100 Subject: [PATCH] chore(github-actions) cleanup workflows to only have 1 release-drafter generation Signed-off-by: Damien Duportal --- .github/dependabot.yml | 6 ++++++ .github/workflows/changelog.yml | 16 ---------------- .github/workflows/release-drafter.yml | 5 +++-- 3 files changed, 9 insertions(+), 18 deletions(-) delete mode 100644 .github/workflows/changelog.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 94df995b..f56eb6de 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -50,3 +50,9 @@ updates: schedule: interval: weekly open-pull-requests-limit: 10 +- package-ecosystem: "github-actions" + target-branch: master + directory: "/" + schedule: + # Check for updates to GitHub Actions every week + interval: "weekly" diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml deleted file mode 100644 index 84ef3688..00000000 --- a/.github/workflows/changelog.yml +++ /dev/null @@ -1,16 +0,0 @@ -# Automates creation of Release Drafts using Release Drafter -# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc - -on: - push: - branches: - - master - -jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v5.11.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index f87134b2..4abf56a0 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -1,6 +1,7 @@ +# Automates creation of Release Drafts using Release Drafter # Note: additional setup is required, see https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc -name: Release Drafter +name: Release Drafter (Changelog) on: push: @@ -12,6 +13,6 @@ jobs: runs-on: ubuntu-latest steps: # Drafts your next Release notes as Pull Requests are merged into the default branch - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v5.21.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}