Skip to content

Commit 810e126

Browse files
authored
Add mcpg to version updater (#152)
1 parent 09be1f2 commit 810e126

2 files changed

Lines changed: 40 additions & 22 deletions

File tree

.github/workflows/update-awf-version.lock.yml

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

.github/workflows/update-awf-version.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
on:
33
schedule: daily
4-
description: Checks for new releases of gh-aw-firewall and copilot-cli, and opens PRs to update pinned version constants
4+
description: Checks for new releases of gh-aw-firewall, copilot-cli, and gh-aw-mcpg, and opens PRs to update pinned version constants
55
permissions:
66
contents: read
77
issues: read
@@ -13,7 +13,7 @@ network:
1313
allowed: [defaults]
1414
safe-outputs:
1515
create-pull-request:
16-
max: 2
16+
max: 3
1717
---
1818

1919
# Dependency Version Updater
@@ -24,12 +24,13 @@ You are a dependency maintenance bot for the **ado-aw** project — a Rust CLI c
2424

2525
Check whether pinned version constants in `src/compile/common.rs` are up to date with the latest releases of their upstream dependencies. For each outdated constant, open a PR to update it.
2626

27-
There are two dependencies to check:
27+
There are three dependencies to check:
2828

2929
| Constant | Upstream Repository | Example value |
3030
|----------|-------------------|---------------|
3131
| `AWF_VERSION` | [github/gh-aw-firewall](https://github.com/github/gh-aw-firewall) | `0.25.14` |
3232
| `COPILOT_CLI_VERSION` | [github/copilot-cli](https://github.com/github/copilot-cli) | `1.0.6` |
33+
| `MCPG_VERSION` | [github/gh-aw-mcpg](https://github.com/github/gh-aw-mcpg) | `0.1.9` |
3334

3435
Run the following steps **independently for each dependency**. One may be up to date while the other is not.
3536

@@ -47,6 +48,7 @@ Read the file `src/compile/common.rs` in this repository and find the correspond
4748

4849
- `pub const AWF_VERSION: &str = "...";`
4950
- `pub const COPILOT_CLI_VERSION: &str = "...";`
51+
- `pub const MCPG_VERSION: &str = "...";`
5052

5153
Extract the version string.
5254

@@ -96,4 +98,20 @@ If the latest version is newer than the current constant:
9698
*This PR was opened automatically by the dependency version updater workflow.*
9799
```
98100

101+
**For MCPG_VERSION:**
102+
- **Title**: `chore: update MCPG_VERSION to <latest-version>`
103+
- **Body**:
104+
```markdown
105+
## Dependency Update
106+
107+
Updates the pinned `MCPG_VERSION` constant in `src/compile/common.rs` from `<old-version>` to `<latest-version>`.
108+
109+
### Release
110+
111+
See the [gh-aw-mcpg release notes](https://github.com/github/gh-aw-mcpg/releases/tag/v<latest-version>) for details.
112+
113+
---
114+
*This PR was opened automatically by the dependency version updater workflow.*
115+
```
116+
99117
- **Base branch**: `main`

0 commit comments

Comments
 (0)