From 25c63f4409df266e5183e4ad176b5ae7dd589eac Mon Sep 17 00:00:00 2001 From: sandeep <8293321+ehsandeep@users.noreply.github.com> Date: Thu, 5 Jan 2023 16:26:27 +0530 Subject: [PATCH] workflow fixes --- .github/workflows/cve-annotate.yml | 2 +- .github/workflows/new-templates.yml | 2 +- .github/workflows/syntax-checking.yml | 4 +++- .github/workflows/template-db-indexer.yml | 2 +- .github/workflows/template-validate.yml | 3 ++- .github/workflows/wordpress-plugins-update.yml | 2 ++ 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cve-annotate.yml b/.github/workflows/cve-annotate.yml index eede299bea..48d45ba46f 100644 --- a/.github/workflows/cve-annotate.yml +++ b/.github/workflows/cve-annotate.yml @@ -3,7 +3,7 @@ name: ✍🏻 CVE Annotate on: push: branches: - - master + - main workflow_dispatch: jobs: diff --git a/.github/workflows/new-templates.yml b/.github/workflows/new-templates.yml index fa398b097e..d3b137b58a 100644 --- a/.github/workflows/new-templates.yml +++ b/.github/workflows/new-templates.yml @@ -3,7 +3,7 @@ name: 🥳 New Template List on: push: branches: - - master + - main workflow_dispatch: jobs: diff --git a/.github/workflows/syntax-checking.yml b/.github/workflows/syntax-checking.yml index 2040891432..3448b7baf9 100644 --- a/.github/workflows/syntax-checking.yml +++ b/.github/workflows/syntax-checking.yml @@ -1,6 +1,8 @@ name: ❄️ YAML Lint -on: [push, pull_request] +on: + pull_request: + workflow_dispatch: jobs: build: diff --git a/.github/workflows/template-db-indexer.yml b/.github/workflows/template-db-indexer.yml index ce977e552d..edcd467f8e 100644 --- a/.github/workflows/template-db-indexer.yml +++ b/.github/workflows/template-db-indexer.yml @@ -3,7 +3,7 @@ name: 📑 Template-DB Indexer on: push: branches: - - master + - main workflow_dispatch: jobs: diff --git a/.github/workflows/template-validate.yml b/.github/workflows/template-validate.yml index cc353a3a70..f18b88a31d 100644 --- a/.github/workflows/template-validate.yml +++ b/.github/workflows/template-validate.yml @@ -1,6 +1,7 @@ name: 🛠 Template Validate -on: [ push, pull_request ] +on: + pull_request: jobs: build: diff --git a/.github/workflows/wordpress-plugins-update.yml b/.github/workflows/wordpress-plugins-update.yml index a5539b10ee..aa211f7838 100644 --- a/.github/workflows/wordpress-plugins-update.yml +++ b/.github/workflows/wordpress-plugins-update.yml @@ -1,8 +1,10 @@ name: ✨ WordPress Plugins - Update + on: schedule: - cron: "0 4 * * *" # every day at 4am UTC workflow_dispatch: + jobs: Update: runs-on: ubuntu-latest