From d18d2bc94453d755083e1e0f96ead758ba5df21b Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Tue, 13 Aug 2024 16:22:04 +0200 Subject: [PATCH] fic(actions): let actions run on dispatch --- .github/workflows/check.yml | 2 +- .github/workflows/codeql-analysis.yml | 5 +++-- .github/workflows/lint.yml | 2 +- .github/workflows/pr.yml | 1 + .github/workflows/test.yml | 1 + .github/workflows/todo.yml | 2 +- .github/workflows/version-updates.yml | 2 +- 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8462f34514..ce9f1deba1 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,5 +1,5 @@ name: Checks -on: [pull_request, push] +on: [pull_request, push, workflow_dispatch] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4fbb2b5b8a..6a5e5b734e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -12,8 +12,9 @@ name: "CodeQL" on: - push: null - pull_request: null + push: + pull_request: + workflow_dispatch: schedule: - cron: "26 6 * * 6" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d7238f4c3c..4cf3fe53ab 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,5 @@ name: Type Check and Lint -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 19a1206409..9131fca566 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,6 +1,7 @@ name: "Lint PR" on: + workflow_dispatch: pull_request_target: types: [opened, synchronize, reopened, edited] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2e442bf523..8eb133ade1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,6 +3,7 @@ name: Unit Tests on: push: pull_request: + workflow_dispatch: schedule: - cron: "0 0 * * *" diff --git a/.github/workflows/todo.yml b/.github/workflows/todo.yml index a8cbaf6e17..17caeeac0b 100644 --- a/.github/workflows/todo.yml +++ b/.github/workflows/todo.yml @@ -1,5 +1,5 @@ name: Check TODO -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] jobs: todo: runs-on: ubuntu-latest diff --git a/.github/workflows/version-updates.yml b/.github/workflows/version-updates.yml index 3898829019..45e69dd885 100644 --- a/.github/workflows/version-updates.yml +++ b/.github/workflows/version-updates.yml @@ -1,5 +1,5 @@ name: Version Update Auto Merge -on: pull_request +on: [pull_request, workflow_dispatch] permissions: contents: write