Improve paths-ignore, disable paths-ignore for build 'push' trigger

This commit is contained in:
2024-10-07 15:04:39 -05:00
parent 48b0101dab
commit 8e33506f61
2 changed files with 23 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ on:
workflow_dispatch:
inputs:
fail_fast:
description: 'Fail fast strategy'
description: 'Use fail-fast strategy'
required: false
default: 'true'
verbose:
@@ -17,17 +17,19 @@ on:
push:
tags:
- 'v*.*.*'
paths-ignore:
- README.md
- .gitignore
- LICENSE
- run.sh
# We don't filter by paths here, because we filter by tags, which means we're releasing. All releases should be built.
pull_request:
paths-ignore:
- .hooks/**
- CARGO_README.md
- README.md
- CHANGELOG.md
- INTEGRATION.md
- .gitignore
- LICENSE
- .gitattributes
- LICENSE*
- run.sh
- run.ps1
env:
CARGO_TERM_COLOR: always

View File

@@ -4,16 +4,28 @@ on:
workflow_dispatch:
push:
paths-ignore:
- .hooks/**
- CARGO_README.md
- README.md
- CHANGELOG.md
- INTEGRATION.md
- .gitignore
- LICENSE
- .gitattributes
- LICENSE*
- run.sh
- run.ps1
pull_request:
paths-ignore:
- .hooks/**
- CARGO_README.md
- README.md
- CHANGELOG.md
- INTEGRATION.md
- .gitignore
- LICENSE
- .gitattributes
- LICENSE*
- run.sh
- run.ps1
schedule:
- cron: '30 14 * * 1' # every Monday, 9:30 AM CDT