diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index 485ec0cc1..69cf74435 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -1,7 +1,7 @@ name: "Backend tests" # any branch is useful for testing before a PR is submitted -on: [push, pull_request] +on: workflow_dispatch permissions: contents: read diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ceb8d29b5..744c90aa9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,13 +1,7 @@ name: "CodeQL" -on: - push: - branches: [develop, master] - pull_request: - # The branches below must be a subset of the branches above - branches: [develop] - schedule: - - cron: '0 13 * * 1' +on: workflow_dispatch + permissions: contents: read diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 34b14c395..6bb800c60 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -5,7 +5,8 @@ # Source repository: https://github.com/actions/dependency-review-action # Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement name: 'Dependency Review' -on: [pull_request] +on: workflow_dispatch + permissions: contents: read diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 479194fb2..fc3b37b58 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,11 +1,6 @@ name: Docker -on: - pull_request: - push: - branches: - - 'develop' - tags: - - 'v?[0-9]+.[0-9]+.[0-9]+' +on: workflow_dispatch + env: TEST_TAG: etherpad/etherpad:test permissions: diff --git a/.github/workflows/frontend-admin-tests.yml b/.github/workflows/frontend-admin-tests.yml index 52584812c..9814e3b16 100644 --- a/.github/workflows/frontend-admin-tests.yml +++ b/.github/workflows/frontend-admin-tests.yml @@ -1,7 +1,7 @@ # Leave the powered by Sauce Labs bit in as this means we get additional concurrency name: "Frontend admin tests powered by Sauce Labs" -on: [push] +on: workflow_dispatch permissions: contents: read # to fetch code (actions/checkout) diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index e4d0a7e45..0bc2e42a1 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -1,7 +1,7 @@ # Leave the powered by Sauce Labs bit in as this means we get additional concurrency name: "Frontend tests powered by Sauce Labs" -on: [push] +on: workflow_dispatch permissions: contents: read # to fetch code (actions/checkout) diff --git a/.github/workflows/lint-package-lock.yml b/.github/workflows/lint-package-lock.yml index e3401a94f..0761efc54 100644 --- a/.github/workflows/lint-package-lock.yml +++ b/.github/workflows/lint-package-lock.yml @@ -1,7 +1,7 @@ name: "Lint" # any branch is useful for testing before a PR is submitted -on: [push, pull_request] +on: workflow_dispatch permissions: contents: read diff --git a/.github/workflows/load-test.yml b/.github/workflows/load-test.yml index 6eb3afad7..aecba87b2 100644 --- a/.github/workflows/load-test.yml +++ b/.github/workflows/load-test.yml @@ -1,7 +1,8 @@ name: "Loadtest" # any branch is useful for testing before a PR is submitted -on: [push, pull_request] +on: workflow_dispatch +] permissions: contents: read diff --git a/.github/workflows/rate-limit.yml b/.github/workflows/rate-limit.yml index 005002b08..a0928f6c0 100644 --- a/.github/workflows/rate-limit.yml +++ b/.github/workflows/rate-limit.yml @@ -1,7 +1,7 @@ name: "rate limit" # any branch is useful for testing before a PR is submitted -on: [push, pull_request] +on: workflow_dispatch permissions: contents: read diff --git a/.github/workflows/upgrade-from-latest-release.yml b/.github/workflows/upgrade-from-latest-release.yml index 69eb08d8e..8880e21d5 100644 --- a/.github/workflows/upgrade-from-latest-release.yml +++ b/.github/workflows/upgrade-from-latest-release.yml @@ -1,7 +1,7 @@ name: "Upgrade from latest release" # any branch is useful for testing before a PR is submitted -on: [push, pull_request] +on: workflow_dispatch permissions: contents: read