diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c05844f..98337bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,12 +5,28 @@ on: branches: [main] pull_request: branches: [main] + types: [opened, reopened, synchronize, labeled, unlabeled] env: MIX_ENV: test SQL_PARSER_EX_BUILD: "1" jobs: + changelog: + name: Changelog check + runs-on: ubuntu-22.04 + if: > + github.event_name == 'pull_request' && + !contains(github.event.pull_request.labels.*.name, 'Skip Changelog') + + steps: + - uses: actions/checkout@v4 + + - name: Validate changelog entries + uses: miniscruff/changie-action@v2 + with: + args: batch --dry-run 999.999.999 + test: name: Test (Elixir ${{ matrix.elixir }} / OTP ${{ matrix.otp }}) runs-on: ubuntu-22.04