From 2e986d066dcb3074f6ec041eb2cc5c7ee6532a25 Mon Sep 17 00:00:00 2001 From: skudasov Date: Wed, 18 Sep 2024 09:04:09 +0200 Subject: [PATCH] try scan main branch for breaking changes --- .github/workflows/rc-breaking-changes.yaml | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/rc-breaking-changes.yaml diff --git a/.github/workflows/rc-breaking-changes.yaml b/.github/workflows/rc-breaking-changes.yaml new file mode 100644 index 000000000..6b49c7bac --- /dev/null +++ b/.github/workflows/rc-breaking-changes.yaml @@ -0,0 +1,27 @@ +name: Main branch breaking changes check + +on: + push: + +jobs: + breaking-changes: + name: Check "main" for breaking changes before release + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + fetch-tags: true + - name: Set up Go 1.22.6 + uses: actions/setup-go@v4 + with: + go-version: '1.22.6' + - name: Install gorelease tool + run: | + go install golang.org/x/exp/cmd/gorelease@latest + - name: Run Breaking Changes Script + run: | + chmod +x ./scripts/breaking-changes.sh + ./scripts/breaking-changes.sh \ No newline at end of file