From ff56ed0d616b4ebd92366575cc6defabf7f19414 Mon Sep 17 00:00:00 2001 From: Sven Fillinger Date: Fri, 6 Nov 2020 15:59:16 +0100 Subject: [PATCH] Add workflow dispatch trigger --- .../.github/workflows/build_docs.yml | 4 +++- .../.github/workflows/generate-reports.yml | 1 + .../.github/workflows/nexus-publish-release.yml | 1 + .../.github/workflows/nexus-publish.yml | 1 + .../workflows/pr_to_master_from_hotfix_release_only.yml | 1 + .../.github/workflows/qube_lint.yml | 4 +++- .../.github/workflows/run_tests.yml | 4 +++- .../.github/workflows/sync_project.yml | 1 + 8 files changed, 14 insertions(+), 3 deletions(-) diff --git a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/build_docs.yml b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/build_docs.yml index bff279da..85ade6ed 100644 --- a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/build_docs.yml +++ b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/build_docs.yml @@ -1,6 +1,8 @@ name: Build Documentation -on: [push] +on: + push: + workflow_dispatch: jobs: build: diff --git a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/generate-reports.yml b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/generate-reports.yml index cf222909..6e635f4a 100644 --- a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/generate-reports.yml +++ b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/generate-reports.yml @@ -9,6 +9,7 @@ on: push: branches: - development + workflow_dispatch: jobs: build: diff --git a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/nexus-publish-release.yml b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/nexus-publish-release.yml index 805b43af..8239a026 100644 --- a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/nexus-publish-release.yml +++ b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/nexus-publish-release.yml @@ -7,6 +7,7 @@ name: Nexus Package on: release: types: [created] + workflow_dispatch: jobs: build: diff --git a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/nexus-publish.yml b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/nexus-publish.yml index c6703ced..4e8bf522 100644 --- a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/nexus-publish.yml +++ b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/nexus-publish.yml @@ -8,6 +8,7 @@ on: push: branches: - development + workflow_dispatch: jobs: build: diff --git a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/pr_to_master_from_hotfix_release_only.yml b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/pr_to_master_from_hotfix_release_only.yml index 3417ceca..b635f958 100644 --- a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/pr_to_master_from_hotfix_release_only.yml +++ b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/pr_to_master_from_hotfix_release_only.yml @@ -4,6 +4,7 @@ on: pull_request: branches: - master + workflow_dispatch: jobs: test: diff --git a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/qube_lint.yml b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/qube_lint.yml index 15d1d6d0..9d07f6df 100644 --- a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/qube_lint.yml +++ b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/qube_lint.yml @@ -1,6 +1,8 @@ name: qube lint -on: [push] +on: + push: + workflow_dispatch: jobs: build: diff --git a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/run_tests.yml b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/run_tests.yml index 644b929a..d94c447b 100644 --- a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/run_tests.yml +++ b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/run_tests.yml @@ -1,6 +1,8 @@ name: Run Maven Tests -on: [push] +on: + push: + workflow_dispatch: jobs: build: diff --git a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/sync_project.yml b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/sync_project.yml index 494247eb..a636a40d 100644 --- a/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/sync_project.yml +++ b/qube/create/templates/common_files/{{ cookiecutter.commonName }}/.github/workflows/sync_project.yml @@ -3,6 +3,7 @@ name: Sync qube project on: schedule: - cron: '0 1 * * *' + workflow_dispatch: jobs: build: