Skip to content

Commit 0ff0f09

Browse files
authored
Add mend workflow for dev-v2 branch (#1146)
1 parent 84ca8cd commit 0ff0f09

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/mend.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Mend
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- release-*
8+
- dev-v2
9+
tags:
10+
- "v[0-9]+.[0-9]+.[0-9]+*"
11+
paths-ignore:
12+
- docs/**
13+
pull_request:
14+
branches:
15+
- main
16+
- release-*
17+
- dev-v2
18+
paths-ignore:
19+
- docs/**
20+
21+
concurrency:
22+
group: ${{ github.ref_name }}-mend
23+
cancel-in-progress: true
24+
25+
permissions:
26+
contents: read
27+
28+
jobs:
29+
mend:
30+
if: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false) || (github.event_name == 'push' && github.event.repository.fork == false) }}
31+
uses: nginxinc/compliance-rules/.github/workflows/mend.yml@a27656f8f9a8748085b434ebe007f5b572709aad # v0.2
32+
secrets: inherit
33+
with:
34+
product_name: nginx-agent_${{ github.ref_name }}
35+
project_name: nginx-agent

0 commit comments

Comments
 (0)