-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (35 loc) · 899 Bytes
/
gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# AUTOGENERATED - DO NOT EDIT
name: generate
"on":
push:
branches:
- main
tags-ignore:
- '*'
paths:
- .github/workflows/**
- catalog/**
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4.1.7
with:
token: ${{ secrets.PAT }}
- name: Setup CUE
uses: cue-lang/setup-cue@v1.0.1
with:
version: v0.5.0
- name: Generate
working-directory: .github/workflows
run: |-
cue cmd genworkflows
cue cmd genyamlworkflows
- name: Create PR
uses: peter-evans/create-pull-request@v6.1.0
with:
token: ${{ secrets.PAT }}
commit-message: 'chore: update yamls generated from cue definitions'
title: 'chore: update yamls generated from cue definitions'
permissions: read-all