Update ci workflows to ignore specific paths for pull requests, push, and exclude directory framework/messages to coverage. (#20563)

This commit is contained in:
Wilmer Arambula
2025-10-01 19:34:02 -03:00
committed by GitHub
parent 7000300ab6
commit a4bacdd913
11 changed files with 302 additions and 19 deletions

View File

@@ -6,8 +6,36 @@ permissions:
pull-requests: write
on:
- pull_request
- push
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".codeclimate.yml"
- ".dockerignore"
- ".editorconfig"
- ".eslintignore"
- ".eslintrc"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlab-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -6,8 +6,36 @@ permissions:
pull-requests: write
on:
- pull_request
- push
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".codeclimate.yml"
- ".dockerignore"
- ".editorconfig"
- ".eslintignore"
- ".eslintrc"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlabs-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -6,8 +6,36 @@ permissions:
pull-requests: write
on:
- pull_request
- push
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".codeclimate.yml"
- ".dockerignore"
- ".editorconfig"
- ".eslintignore"
- ".eslintrc"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlabs-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -6,8 +6,36 @@ permissions:
pull-requests: write
on:
- pull_request
- push
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".codeclimate.yml"
- ".dockerignore"
- ".editorconfig"
- ".eslintignore"
- ".eslintrc"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlabs-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -1,6 +1,36 @@
name: build-node
on: [push, pull_request]
on:
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".codeclimate.yml"
- ".dockerignore"
- ".editorconfig"
- ".eslintignore"
- ".eslintrc"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlabs-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
env:
DEFAULT_COMPOSER_FLAGS: "--prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi"

View File

@@ -6,8 +6,36 @@ permissions:
pull-requests: write
on:
- pull_request
- push
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".codeclimate.yml"
- ".dockerignore"
- ".editorconfig"
- ".eslintignore"
- ".eslintrc"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlabs-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -6,8 +6,36 @@ permissions:
pull-requests: write
on:
- pull_request
- push
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".codeclimate.yml"
- ".dockerignore"
- ".editorconfig"
- ".eslintignore"
- ".eslintrc"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlabs-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -6,8 +6,36 @@ permissions:
pull-requests: write
on:
- pull_request
- push
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".codeclimate.yml"
- ".dockerignore"
- ".editorconfig"
- ".eslintignore"
- ".eslintrc"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlabs-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -6,8 +6,36 @@ permissions:
pull-requests: write
on:
- pull_request
- push
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".codeclimate.yml"
- ".dockerignore"
- ".editorconfig"
- ".eslintignore"
- ".eslintrc"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlabs-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -6,8 +6,36 @@ permissions:
pull-requests: write
on:
- pull_request
- push
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".codeclimate.yml"
- ".dockerignore"
- ".editorconfig"
- ".eslintignore"
- ".eslintrc"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlabs-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

View File

@@ -29,6 +29,7 @@
<file>framework/web/ResponseFormatterInterface.php</file>
<directory suffix=".php">framework/bootstrap</directory>
<directory suffix="Exception.php">framework/base</directory>
<directory suffix=".php">framework/messages</directory>
<directory suffix=".php">framework/requirements</directory>
</exclude>
</coverage>