Skip to content

Commit

Permalink
add ignored paths in workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
superrnovae committed Aug 2, 2022
1 parent 79ab1fe commit bb3654c
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 4 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,26 @@ on:
push:
paths-ignore:
- 'README.md'
- 'book.json'
- '.gitignore'
- 'Dockerfile'
- 'Dockerfile.*'
- '.devcontainer/**'
- '.vscode/**'
- '.github/**'
- 'docs/**'
branches:
- "main"
pull_request:
paths-ignore:
- 'README.md'
- 'book.json'
- '.gitignore'
- 'Dockerfile'
- 'Dockerfile.*'
- '.devcontainer/**'
- '.vscode/**'
- '.github/**'
- 'docs/**'
branches:
- "main"
Expand All @@ -25,7 +39,7 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: '3.9'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on:
push:
paths-ignore:
- 'README.md'
- 'book.json'
- '.gitignore'
- 'Dockerfile'
- 'Dockerfile.*'
- '.devcontainer/**'
- '.vscode/**'
- '.github/**'
- 'docs/**'
branches:
- "main"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: '3.9'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,26 @@ on:
push:
paths-ignore:
- 'README.md'
- 'book.json'
- '.gitignore'
- 'Dockerfile'
- 'Dockerfile.*'
- '.devcontainer/**'
- '.vscode/**'
- '.github/**'
- 'docs/**'
branches:
- "main"
pull_request:
paths-ignore:
- 'README.md'
- 'book.json'
- '.gitignore'
- 'Dockerfile'
- 'Dockerfile.*'
- '.devcontainer/**'
- '.vscode/**'
- '.github/**'
- 'docs/**'
branches:
- "main"
Expand Down Expand Up @@ -72,7 +86,7 @@ jobs:
path: |
~/__cache
key: ${{ runner.os }}-procursus

# Checkout the latest code from the repo
- name: Checkout repo
uses: actions/checkout@v2
Expand Down Expand Up @@ -101,7 +115,7 @@ jobs:
- name: Add Procursus to PATH
run: |
echo '/opt/procursus/sbin:/opt/procursus/bin' >> $GITHUB_PATH
- name: Setup Procursus Bootstrap (cache)
if: steps.procache.outputs.cache-hit == 'true'
run: |
Expand Down

0 comments on commit bb3654c

Please sign in to comment.