From 31846a56387f9397891f522ba7a09cf2d9002a75 Mon Sep 17 00:00:00 2001 From: Karl Johan Grahn Date: Sat, 27 Apr 2024 22:35:41 +0200 Subject: [PATCH 1/2] update --- .github/workflows/pull_request.yaml | 10 ++++++++++ .github/workflows/push.yaml | 17 +++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 36e8bee5c..5b25ed7d0 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -4,6 +4,16 @@ on: pull_request_target: branches: - master + paths: + - '**' + - '!.markdownlint.yaml' + - '!.vale.ini' + - '!Dockerfile-docs' + - '!docs-nginx.conf' + - '!docs/**' + - '!README.md' + - '!theme_common' + - '!theme_override' env: DOCKER_FILE_PATH: Dockerfile diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 26998987e..fb67fb956 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -4,6 +4,16 @@ on: push: branches: - master + paths: + - '**' + - '!.markdownlint.yaml' + - '!.vale.ini' + - '!Dockerfile-docs' + - '!docs-nginx.conf' + - '!docs/**' + - '!README.md' + - '!theme_common' + - '!theme_override' env: DOCKER_FILE_PATH: Dockerfile @@ -23,7 +33,7 @@ jobs: - name: Check out code uses: actions/checkout@v4 with: - token: ${{ secrets.STAKATER_GITHUB_TOKEN }} + token: ${{ secrets.STAKATER_GITHUB_TOKEN }} fetch-depth: 0 # otherwise, you will fail to push refs to dest repo # Setting up helm binary @@ -31,14 +41,14 @@ jobs: uses: azure/setup-helm@v4 with: version: v3.11.3 - + - name: Set up Go uses: actions/setup-go@v5 with: go-version-file: 'go.mod' check-latest: true cache: true - + - name: Install Dependencies run: | make install @@ -233,7 +243,6 @@ jobs: commit_username: stakater-user commit_email: stakater@gmail.com - # Commit back changes - name: Log info about `.git` directory permissions run: | From 1a5e742dab6023b2d43f92f45396c02f90dcee84 Mon Sep 17 00:00:00 2001 From: Karl Johan Grahn Date: Sat, 27 Apr 2024 22:43:08 +0200 Subject: [PATCH 2/2] update --- .github/workflows/pull_request.yaml | 7 ++++++- .github/workflows/pull_request_docs.yaml | 3 +-- .github/workflows/push.yaml | 1 - 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 5b25ed7d0..5602e8b21 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -11,7 +11,6 @@ on: - '!Dockerfile-docs' - '!docs-nginx.conf' - '!docs/**' - - '!README.md' - '!theme_common' - '!theme_override' @@ -23,6 +22,12 @@ env: REGISTRY: ghcr.io jobs: + qa: + uses: stakater/.github/.github/workflows/pull_request_doc_qa.yaml@v0.0.73 + with: + MD_CONFIG: .github/md_config.json + DOC_SRC: README.md + MD_LINT_CONFIG: .markdownlint.yaml build: runs-on: ubuntu-latest name: Build diff --git a/.github/workflows/pull_request_docs.yaml b/.github/workflows/pull_request_docs.yaml index f6a84f659..78b474d99 100644 --- a/.github/workflows/pull_request_docs.yaml +++ b/.github/workflows/pull_request_docs.yaml @@ -10,7 +10,6 @@ on: - 'Dockerfile-docs' - 'docs-nginx.conf' - 'docs/**' - - 'README.md' - 'theme_common' - 'theme_override' @@ -19,7 +18,7 @@ jobs: uses: stakater/.github/.github/workflows/pull_request_doc_qa.yaml@v0.0.73 with: MD_CONFIG: .github/md_config.json - DOC_SRC: README.md docs + DOC_SRC: docs MD_LINT_CONFIG: .markdownlint.yaml build: uses: stakater/.github/.github/workflows/pull_request_container_build.yaml@v0.0.73 diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index fb67fb956..82f32f456 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -11,7 +11,6 @@ on: - '!Dockerfile-docs' - '!docs-nginx.conf' - '!docs/**' - - '!README.md' - '!theme_common' - '!theme_override'