diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 08c6b12e..e1f6260e 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -1,6 +1,27 @@ name: tests -on: [push, pull_request] +on: + push: + branches: + - main + tags: + - "[0-9]+.[0-9]+.[0-9]+" + - "[0-9]+.[0-9]+.[0-9]+-*" + paths-ignore: + - .reuse + - LICENSES/ + - LICENSE + - .gitignore + - "**.md" + + pull_request: + types: [opened, synchronize, reopened] + paths-ignore: + - .reuse + - LICENSES/ + - LICENSE + - .gitignore + - "**.md" permissions: contents: read