From da7c9da3369a971a929677e06ac11c7cde595f97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Wed, 29 May 2024 14:22:48 +0200 Subject: [PATCH] Run the static code checks on push and when manually triggered GHA that only runs on pull_request is hard to test; I have to create PR to see it run. With this change, the action can be tested in my personal fork before I create a PR --- .github/workflows/code-quality.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-quality.yaml b/.github/workflows/code-quality.yaml index 31158d615..a2c50f7ff 100644 --- a/.github/workflows/code-quality.yaml +++ b/.github/workflows/code-quality.yaml @@ -1,6 +1,9 @@ --- name: Code static analysis -on: [pull_request] # yamllint disable-line rule:truthy +on: # yamllint disable-line rule:truthy + push: + pull_request: + workflow_dispatch: permissions: contents: read