Skip to content

Commit 24a2242

Browse files
authored
Create validate.yml
Signed-off-by: John Mertic <[email protected]>
1 parent 51652d3 commit 24a2242

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/validate.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Validate
2+
3+
on:
4+
merge_group:
5+
pull_request:
6+
branches:
7+
- main
8+
- master
9+
10+
jobs:
11+
validate-landscape:
12+
runs-on: ubuntu-latest
13+
name: "Validate landscape.yml file"
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: cncf/landscape2-validate-action@v2
17+
with:
18+
target_kind: data
19+
target_path: ./landscape.yml
20+
- uses: pascalgn/[email protected]
21+
if: success()
22+
env:
23+
GITHUB_TOKEN: "${{ secrets.PAT }}"
24+
MERGE_LABELS: "automated-build"
25+
MERGE_RETRY_SLEEP: 300000
26+
MERGE_METHOD: "squash"

0 commit comments

Comments
 (0)