From 8b0745c7cb770a3ca9f6c4381327d62a6f81818a Mon Sep 17 00:00:00 2001 From: Noemi Lapresta Date: Tue, 17 Mar 2026 18:30:48 +0100 Subject: [PATCH] Validate mono changesets in CI Add changeset validation with `mono changeset validate` as a reusable workflow, and reference it from the CI and publish release workflows. --- .github/workflows/ci.yml | 3 +++ .github/workflows/validate_changesets.yml | 24 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/validate_changesets.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7afbdb..eeb0ffa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,3 +104,6 @@ jobs: with: fetch-depth: 0 # Fetch depth is required - uses: lintje/action@v0.11 + + validate-changesets: + uses: ./.github/workflows/validate_changesets.yml diff --git a/.github/workflows/validate_changesets.yml b/.github/workflows/validate_changesets.yml new file mode 100644 index 0000000..4f02e24 --- /dev/null +++ b/.github/workflows/validate_changesets.yml @@ -0,0 +1,24 @@ +name: Validate changesets + +on: + workflow_call: + +jobs: + validate-changesets: + name: Validate changesets + runs-on: ubuntu-latest + steps: + - name: Checkout project + uses: actions/checkout@v4 + - name: Checkout Mono + uses: actions/checkout@v4 + with: + repository: appsignal/mono + path: tmp/mono + - name: Install Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' + - name: Validate changesets + run: tmp/mono/bin/mono changeset validate +