From 4c1e1e85f71d5c3e2fe313d67476e547c1e6f2e0 Mon Sep 17 00:00:00 2001 From: phaer Date: Mon, 14 Mar 2022 19:31:24 +0100 Subject: [PATCH 1/4] switch from renovate to dependabot... ...because the latter is part of github --- .github/dependabot.yaml | 11 +++++++++++ renovate.json | 3 --- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 .github/dependabot.yaml delete mode 100644 renovate.json diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..2f8ee30 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "terraform" + directory: "/" + schedule: + interval: "daily" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 3080022..0000000 --- a/renovate.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": ["config:base", ":disableDependencyDashboard"] -} From af406ad0fd56bdf8e76a1209d193ceb1cbe96033 Mon Sep 17 00:00:00 2001 From: phaer Date: Tue, 15 Mar 2022 00:45:34 +0100 Subject: [PATCH 2/4] Add github action to publish new releases --- .github/workflows/publish-terraform.yaml | 19 +++++++++++++++++++ ...terraform.yaml => validate-terraform.yaml} | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish-terraform.yaml rename .github/workflows/{terraform.yaml => validate-terraform.yaml} (95%) diff --git a/.github/workflows/publish-terraform.yaml b/.github/workflows/publish-terraform.yaml new file mode 100644 index 0000000..7865d14 --- /dev/null +++ b/.github/workflows/publish-terraform.yaml @@ -0,0 +1,19 @@ +--- +name: Publish a new Github Release + +on: + push: + tags: + - '*' + +jobs: + Release: + name: Release + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ncipollo/release-action@v1 + with: + generateReleaseNotes: true + name: 'v${{ github.ref_name }}' + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/terraform.yaml b/.github/workflows/validate-terraform.yaml similarity index 95% rename from .github/workflows/terraform.yaml rename to .github/workflows/validate-terraform.yaml index efb374b..f258ebc 100644 --- a/.github/workflows/terraform.yaml +++ b/.github/workflows/validate-terraform.yaml @@ -1,5 +1,5 @@ --- -name: Terraform +name: Validate Terraform on: push: From d4205ccba86d5781cf9b538bb9f2a5110813e776 Mon Sep 17 00:00:00 2001 From: phaer Date: Tue, 15 Mar 2022 01:05:01 +0100 Subject: [PATCH 3/4] Add github release notes config --- .github/release.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/release.yaml diff --git a/.github/release.yaml b/.github/release.yaml new file mode 100644 index 0000000..57cbe97 --- /dev/null +++ b/.github/release.yaml @@ -0,0 +1,22 @@ +changelog: + exclude: + labels: + - ignore-for-release + authors: + - octocat + categories: + - title: Breaking Changes 🛠 + labels: + - Semver-Major + - breaking-change + - title: New Features 🎉 + labels: + - Semver-Minor + - enhancement + - title: Bug Fixes 🐛 + labels: + - Semver-Patch + - bug + - title: Other Changes + labels: + - "*" From 40ec083ce4b2811909a925405e7acc3103f560fb Mon Sep 17 00:00:00 2001 From: phaer Date: Tue, 15 Mar 2022 01:20:53 +0100 Subject: [PATCH 4/4] Bump actions/checkout from 2 to 3 --- .github/workflows/publish-terraform.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-terraform.yaml b/.github/workflows/publish-terraform.yaml index 7865d14..d0de629 100644 --- a/.github/workflows/publish-terraform.yaml +++ b/.github/workflows/publish-terraform.yaml @@ -11,7 +11,7 @@ jobs: name: Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: ncipollo/release-action@v1 with: generateReleaseNotes: true