From d1d4e36c07601111e356e7c34400b046f0b01109 Mon Sep 17 00:00:00 2001 From: Jakub Jarosz Date: Thu, 19 Jun 2025 16:31:41 +0100 Subject: [PATCH 1/2] add mend workflow Signed-off-by: Jakub Jarosz --- .github/workflows/mend.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/mend.yml diff --git a/.github/workflows/mend.yml b/.github/workflows/mend.yml new file mode 100644 index 000000000..d1581d7f5 --- /dev/null +++ b/.github/workflows/mend.yml @@ -0,0 +1,35 @@ +name: Mend + +on: + push: + branches: + - main + - release-* + - v3 + tags: + - "v[0-9]+.[0-9]+.[0-9]+*" + paths-ignore: + - examples/** + pull_request: + branches: + - main + - release-* + - v3 + paths-ignore: + - examples/** + +concurrency: + group: ${{ github.ref_name }}-mend + cancel-in-progress: true + +permissions: + contents: read + +jobs: + mend: + if: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false) || (github.event_name == 'push' && github.event.repository.fork == false) }} + uses: nginxinc/compliance-rules/.github/workflows/mend.yml@a27656f8f9a8748085b434ebe007f5b572709aad # v0.2 + secrets: inherit + with: + product_name: nginx-agent-v3_${{ github.ref_name }} + project_name: nginx-agent-v3 From 93a63a94d8fd32f1a09c9e8ca8e023ae621f321b Mon Sep 17 00:00:00 2001 From: Jakub Jarosz Date: Thu, 19 Jun 2025 16:48:01 +0100 Subject: [PATCH 2/2] update mend workflow, exclude commits to docs Signed-off-by: Jakub Jarosz --- .github/workflows/mend.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mend.yml b/.github/workflows/mend.yml index d1581d7f5..a28495f00 100644 --- a/.github/workflows/mend.yml +++ b/.github/workflows/mend.yml @@ -5,18 +5,16 @@ on: branches: - main - release-* - - v3 tags: - "v[0-9]+.[0-9]+.[0-9]+*" paths-ignore: - - examples/** + - docs/** pull_request: branches: - main - release-* - - v3 paths-ignore: - - examples/** + - docs/** concurrency: group: ${{ github.ref_name }}-mend