diff --git a/.github/workflows/mend.yml b/.github/workflows/mend.yml new file mode 100644 index 000000000..a28495f00 --- /dev/null +++ b/.github/workflows/mend.yml @@ -0,0 +1,33 @@ +name: Mend + +on: + push: + branches: + - main + - release-* + tags: + - "v[0-9]+.[0-9]+.[0-9]+*" + paths-ignore: + - docs/** + pull_request: + branches: + - main + - release-* + paths-ignore: + - docs/** + +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