Skip to content

Commit

Permalink
ci: ignore git-related paths and the project license
Browse files Browse the repository at this point in the history
Add the following paths to the ignore lists:

- .git-blame-ignore-revs
- .gitignore
- COPYING

To avoid running CI unnecessarily.

Commands used to show only the root files:

    $ git ls-files | grep -v /

Misc: I noticed the missing paths on #5248.
  • Loading branch information
kmk3 committed Jul 12, 2022
1 parent c9019bf commit f46b6c0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ on:
push:
branches: [ master ]
paths-ignore:
- .git-blame-ignore-revs
- .gitignore
- CONTRIBUTING.md
- COPYING
- README
- README.md
- RELNOTES
Expand All @@ -16,7 +19,10 @@ on:
pull_request:
branches: [ master ]
paths-ignore:
- .git-blame-ignore-revs
- .gitignore
- CONTRIBUTING.md
- COPYING
- README
- README.md
- RELNOTES
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ on:
push:
branches: [ master ]
paths-ignore:
- .git-blame-ignore-revs
- .gitignore
- CONTRIBUTING.md
- COPYING
- README
- README.md
- RELNOTES
- SECURITY.md
pull_request:
branches: [ master ]
paths-ignore:
- .git-blame-ignore-revs
- .gitignore
- CONTRIBUTING.md
- COPYING
- README
- README.md
- RELNOTES
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:
push:
branches: [ master ]
paths-ignore:
- .git-blame-ignore-revs
- .gitignore
- CONTRIBUTING.md
- COPYING
- README
- README.md
- RELNOTES
Expand All @@ -19,7 +22,10 @@ on:
# The branches below must be a subset of the branches above
branches: [ master ]
paths-ignore:
- .git-blame-ignore-revs
- .gitignore
- CONTRIBUTING.md
- COPYING
- README
- README.md
- RELNOTES
Expand Down

0 comments on commit f46b6c0

Please sign in to comment.