diff --git a/.github/workflows/leak-check.yml b/.github/workflows/leak-check.yml new file mode 100644 index 0000000..9a0123b --- /dev/null +++ b/.github/workflows/leak-check.yml @@ -0,0 +1,21 @@ +name: Leak check + +# Every change, docs included: the build skips docs-only changes, and README or docs text is where a stray +# email address most often slips in. A few seconds on ubuntu, no Gradle. +on: + push: + branches: [main] + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + leak-check: + if: github.event_name != 'pull_request' || !github.event.pull_request.draft + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - run: bash scripts/leak-check.sh