Skip to content

Commit fd3365e

Browse files
Fix agentic triage integrity and add workflow to ensure lock file is up to date (#10528)
Example done for similar workflow in https://github.com/Azure/azure-sdk-for-net/blob/main/.github/workflows/issue-triage.md
1 parent 899dd8b commit fd3365e

6 files changed

Lines changed: 157 additions & 91 deletions

File tree

.github/aw/actions-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"version": "v9",
66
"sha": "373c709c69115d41ff229c7e5df9f8788daa9553"
77
},
8-
"github/gh-aw-actions/setup@v0.68.3": {
8+
"github/gh-aw-actions/setup@v0.71.1": {
99
"repo": "github/gh-aw-actions/setup",
10-
"version": "v0.68.3",
11-
"sha": "ba90f2186d7ad780ec640f364005fa24e797b360"
10+
"version": "v0.71.1",
11+
"sha": "239aec45b78c8799417efdd5bc6d8cc036629ec1"
1212
},
1313
"github/gh-aw/actions/setup@v0.57.2": {
1414
"repo": "github/gh-aw/actions/setup",

.github/workflows/bump-tcgc-csharp.lock.yml

Lines changed: 11 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/bump-tcgc-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: |
66
exists, files a tracking issue assigned to GitHub Copilot to perform the upgrade.
77
88
on:
9-
schedule: daily
9+
schedule: "13 3 * * *"
1010
workflow_dispatch:
1111

1212
permissions: read-all
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Check Agentic Workflows
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
pull_request:
8+
paths:
9+
- ".github/workflows/*.md"
10+
- ".github/workflows/*.lock.yml"
11+
- ".github/workflows/check-agentic-workflows.yml"
12+
13+
jobs:
14+
check-lock-files:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Install gh-aw
20+
run: curl -sL https://raw.githubusercontent.com/github/gh-aw/main/install-gh-aw.sh | bash
21+
22+
- name: Compile and check for drift
23+
run: |
24+
gh aw compile
25+
if ! git diff --exit-code .github/workflows/*.lock.yml; then
26+
echo "::error::Lock files are out of date. Run 'gh aw compile' locally and commit the changes."
27+
exit 1
28+
fi

0 commit comments

Comments
 (0)