From f3f415ee7193b405d91b018f53d408f138d799fa Mon Sep 17 00:00:00 2001 From: devanych Date: Tue, 11 Jan 2022 16:21:11 +0300 Subject: [PATCH] Remove scheduled runs from all workflow actions --- .editorconfig | 3 +++ .github/workflows/build.yml | 19 +++++++++++++++++-- .github/workflows/db-mssql.yml | 19 +++++++++++++++++-- .github/workflows/db-mysql.yml | 19 +++++++++++++++++-- .github/workflows/db-pgsql.yml | 19 +++++++++++++++++-- .github/workflows/static.yml | 23 +++++++++++++++++++---- 6 files changed, 90 insertions(+), 12 deletions(-) diff --git a/.editorconfig b/.editorconfig index 257221d23..5e9a93ea5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,3 +12,6 @@ trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false + +[*.yml] +indent_size = 2 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0e579f8e..239cdaf1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,23 @@ on: pull_request: + paths-ignore: + - 'docs/**' + - 'README.md' + - 'CHANGELOG.md' + - '.gitignore' + - '.gitattributes' + - 'infection.json.dist' + - 'psalm.xml' + push: - schedule: - - cron: '0 0 * * *' + paths-ignore: + - 'docs/**' + - 'README.md' + - 'CHANGELOG.md' + - '.gitignore' + - '.gitattributes' + - 'infection.json.dist' + - 'psalm.xml' name: build diff --git a/.github/workflows/db-mssql.yml b/.github/workflows/db-mssql.yml index 8af82c594..358969aeb 100644 --- a/.github/workflows/db-mssql.yml +++ b/.github/workflows/db-mssql.yml @@ -1,8 +1,23 @@ on: pull_request: + paths-ignore: + - 'docs/**' + - 'README.md' + - 'CHANGELOG.md' + - '.gitignore' + - '.gitattributes' + - 'infection.json.dist' + - 'psalm.xml' + push: - schedule: - - cron: '0 0 * * *' + paths-ignore: + - 'docs/**' + - 'README.md' + - 'CHANGELOG.md' + - '.gitignore' + - '.gitattributes' + - 'infection.json.dist' + - 'psalm.xml' name: db-mssql diff --git a/.github/workflows/db-mysql.yml b/.github/workflows/db-mysql.yml index 26c6651c5..57a849fe5 100644 --- a/.github/workflows/db-mysql.yml +++ b/.github/workflows/db-mysql.yml @@ -1,8 +1,23 @@ on: pull_request: + paths-ignore: + - 'docs/**' + - 'README.md' + - 'CHANGELOG.md' + - '.gitignore' + - '.gitattributes' + - 'infection.json.dist' + - 'psalm.xml' + push: - schedule: - - cron: '0 0 * * *' + paths-ignore: + - 'docs/**' + - 'README.md' + - 'CHANGELOG.md' + - '.gitignore' + - '.gitattributes' + - 'infection.json.dist' + - 'psalm.xml' name: db-mysql diff --git a/.github/workflows/db-pgsql.yml b/.github/workflows/db-pgsql.yml index 547bfcf26..d565dd6a1 100644 --- a/.github/workflows/db-pgsql.yml +++ b/.github/workflows/db-pgsql.yml @@ -1,8 +1,23 @@ on: pull_request: + paths-ignore: + - 'docs/**' + - 'README.md' + - 'CHANGELOG.md' + - '.gitignore' + - '.gitattributes' + - 'infection.json.dist' + - 'psalm.xml' + push: - schedule: - - cron: '0 0 * * *' + paths-ignore: + - 'docs/**' + - 'README.md' + - 'CHANGELOG.md' + - '.gitignore' + - '.gitattributes' + - 'infection.json.dist' + - 'psalm.xml' name: db-pgsql diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index c3a6370f5..0c777b84f 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,10 +1,25 @@ -name: static analysis - on: pull_request: + paths-ignore: + - 'docs/**' + - 'README.md' + - 'CHANGELOG.md' + - '.gitignore' + - '.gitattributes' + - 'infection.json.dist' + - 'phpunit.xml.dist' + push: - schedule: - - cron: '0 0 * * *' + paths-ignore: + - 'docs/**' + - 'README.md' + - 'CHANGELOG.md' + - '.gitignore' + - '.gitattributes' + - 'infection.json.dist' + - 'phpunit.xml.dist' + +name: static analysis jobs: mutation: