-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathawsx-validate-agentic-workflows.yml
More file actions
53 lines (47 loc) · 1.22 KB
/
awsx-validate-agentic-workflows.yml
File metadata and controls
53 lines (47 loc) · 1.22 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Validate Agentic Workflows
on:
pull_request:
paths:
- '.github/workflows/*.md'
- '.github/workflows/*.lock.yml'
- '.github/agents/*.md'
- '.github/snippets/*.md'
- '.github/aw/actions-lock.json'
- '.gitattributes'
- 'mise.toml'
- '.github/workflows/validate-agentic-workflows.yml'
push:
branches:
- main
paths:
- '.github/workflows/*.md'
- '.github/workflows/*.lock.yml'
- '.github/agents/*.md'
- '.github/snippets/*.md'
- '.github/aw/actions-lock.json'
- '.gitattributes'
- 'mise.toml'
- '.github/workflows/validate-agentic-workflows.yml'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tools via mise
uses: jdx/mise-action@v3
with:
install: true
- name: Show gh-aw version
run: |
set -euo pipefail
gh-aw version
- name: Validate and compile workflows
run: |
set -euo pipefail
gh-aw validate
gh-aw compile
- name: Verify lockfiles are up to date
run: |
set -euo pipefail
git diff --exit-code