Commit 2a23b3b
Add GitHub Actions workflow to notify on changes to versions.gradle, Fixes AB#1234567 (#2829)
This pull request introduces improvements to GitHub Actions workflows to
enhance automation and reliability around Gradle version changes and AB
ID extraction from pull requests. The main changes include the addition
of a new workflow for monitoring updates to the `gradle/versions.gradle`
file and a more robust method for extracting AB IDs from PR bodies.
**Workflow automation enhancements:**
* Added a new workflow `.github/workflows/gradle-versions-watcher.yml`
that triggers on changes to `gradle/versions.gradle` in the `dev` and
`release/**` branches, logging changes and commenting on pull requests
with a warning and documentation link.
**Improved AB ID extraction logic:**
* Updated the `validate-pr-ab-id.yml` workflow to sanitize the pull
request body by removing backticks and to extract the AB ID using the
pattern
`[[AB#1234567](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/1234567)]`
instead of just `#1234567`, improving reliability and accuracy.
[AB#3424644](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/3424644)
---------
Co-authored-by: Copilot <[email protected]>1 parent cd2900f commit 2a23b3b
File tree
3 files changed
+42
-3
lines changed- .github/workflows
- gradle
3 files changed
+42
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | | - | |
38 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments