Skip to content

Commit 30c0f5b

Browse files
authoredApr 27, 2024··
Workflow updates for paths (#651)
* update * update
1 parent d4b7d38 commit 30c0f5b

File tree

3 files changed

+28
-6
lines changed

3 files changed

+28
-6
lines changed
 

‎.github/workflows/pull_request.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ on:
44
pull_request_target:
55
branches:
66
- master
7+
paths:
8+
- '**'
9+
- '!.markdownlint.yaml'
10+
- '!.vale.ini'
11+
- '!Dockerfile-docs'
12+
- '!docs-nginx.conf'
13+
- '!docs/**'
14+
- '!theme_common'
15+
- '!theme_override'
716

817
env:
918
DOCKER_FILE_PATH: Dockerfile
@@ -13,6 +22,12 @@ env:
1322
REGISTRY: ghcr.io
1423

1524
jobs:
25+
qa:
26+
uses: stakater/.github/.github/workflows/pull_request_doc_qa.yaml@v0.0.73
27+
with:
28+
MD_CONFIG: .github/md_config.json
29+
DOC_SRC: README.md
30+
MD_LINT_CONFIG: .markdownlint.yaml
1631
build:
1732
runs-on: ubuntu-latest
1833
name: Build

‎.github/workflows/pull_request_docs.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
- 'Dockerfile-docs'
1111
- 'docs-nginx.conf'
1212
- 'docs/**'
13-
- 'README.md'
1413
- 'theme_common'
1514
- 'theme_override'
1615

@@ -19,7 +18,7 @@ jobs:
1918
uses: stakater/.github/.github/workflows/pull_request_doc_qa.yaml@v0.0.73
2019
with:
2120
MD_CONFIG: .github/md_config.json
22-
DOC_SRC: README.md docs
21+
DOC_SRC: docs
2322
MD_LINT_CONFIG: .markdownlint.yaml
2423
build:
2524
uses: stakater/.github/.github/workflows/pull_request_container_build.yaml@v0.0.73

‎.github/workflows/push.yaml

+12-4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ on:
44
push:
55
branches:
66
- master
7+
paths:
8+
- '**'
9+
- '!.markdownlint.yaml'
10+
- '!.vale.ini'
11+
- '!Dockerfile-docs'
12+
- '!docs-nginx.conf'
13+
- '!docs/**'
14+
- '!theme_common'
15+
- '!theme_override'
716

817
env:
918
DOCKER_FILE_PATH: Dockerfile
@@ -23,22 +32,22 @@ jobs:
2332
- name: Check out code
2433
uses: actions/checkout@v4
2534
with:
26-
token: ${{ secrets.STAKATER_GITHUB_TOKEN }}
35+
token: ${{ secrets.STAKATER_GITHUB_TOKEN }}
2736
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
2837

2938
# Setting up helm binary
3039
- name: Set up Helm
3140
uses: azure/setup-helm@v4
3241
with:
3342
version: v3.11.3
34-
43+
3544
- name: Set up Go
3645
uses: actions/setup-go@v5
3746
with:
3847
go-version-file: 'go.mod'
3948
check-latest: true
4049
cache: true
41-
50+
4251
- name: Install Dependencies
4352
run: |
4453
make install
@@ -233,7 +242,6 @@ jobs:
233242
commit_username: stakater-user
234243
commit_email: stakater@gmail.com
235244

236-
237245
# Commit back changes
238246
- name: Log info about `.git` directory permissions
239247
run: |

0 commit comments

Comments
 (0)
Please sign in to comment.