Skip to content

Commit 2b2123d

Browse files
XS⚠️ ◾ Release v1.7.1: Downgrading agent requirements (#591)
This downgrades the `minimumAgentVersion` from `4.252.0` to `4.251.0` to address issues some customers were facing. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2f3f41f commit 2b2123d

File tree

13 files changed

+18
-18
lines changed

13 files changed

+18
-18
lines changed

.github/workflows/release-phase-1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
with:
2222
major: 1
2323
minor: 7
24-
patch: 1
24+
patch: 2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.0
1+
1.7.1

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ The default input values are expected to be appropriate for most builds.
127127
Therefore, the following YAML definition is recommended:
128128

129129
```YAML
130-
uses: microsoft/PR-Metrics@v1.7.0
130+
uses: microsoft/PR-Metrics@v1.7.1
131131
name: PR Metrics
132132
env:
133133
PR_METRICS_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -137,7 +137,7 @@ continue-on-error: true
137137
If you wish to modify the inputs, YAML akin the to the following can be used:
138138

139139
```YAML
140-
uses: microsoft/PR-Metrics@v1.7.0
140+
uses: microsoft/PR-Metrics@v1.7.1
141141
name: PR Metrics
142142
env:
143143
PR_METRICS_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

dist/index.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/resources.resjson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://json.schemastore.org/resjson.json",
33
"loc.description": "Augments pull request titles to let reviewers quickly determine PR size and test coverage.",
44
"loc.description.comment": "The description of the task.",
5-
"loc.friendlyName": "PR Metrics v1.7.0",
5+
"loc.friendlyName": "PR Metrics v1.7.1",
66
"loc.friendlyName.comment": "The name of the task.",
77
"loc.helpMarkDown": "[More information](https://aka.ms/PRMetrics/README)",
88
"loc.helpMarkDown.comment": "The Markdown-formatted help text of the task.",

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "prmetrics",
44
"publisher": "ms-omex",
5-
"version": "1.7.0",
5+
"version": "1.7.1",
66
"description": "Augments pull request titles to let reviewers quickly determine PR size and test coverage.",
77
"main": "dist/index.mjs",
88
"type": "module",

src/task/Strings/resources.resjson/en-US/resources.resjson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://json.schemastore.org/resjson.json",
33
"loc.description": "Augments pull request titles to let reviewers quickly determine PR size and test coverage.",
44
"loc.description.comment": "The description of the task.",
5-
"loc.friendlyName": "PR Metrics v1.7.0",
5+
"loc.friendlyName": "PR Metrics v1.7.1",
66
"loc.friendlyName.comment": "The name of the task.",
77
"loc.helpMarkDown": "[More information](https://aka.ms/PRMetrics/README)",
88
"loc.helpMarkDown.comment": "The Markdown-formatted help text of the task.",

src/task/src/repos/gitHubReposInvoker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export default class GitHubReposInvoker extends BaseReposInvoker {
288288
this._logger.logWarning(`Octokit – ${message}`);
289289
},
290290
},
291-
userAgent: "PRMetrics/v1.7.0",
291+
userAgent: "PRMetrics/v1.7.1",
292292
};
293293

294294
if (RunnerInvoker.isGitHub) {

src/task/task.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"$schema": "https://raw.githubusercontent.com/microsoft/azure-pipelines-task-lib/master/tasks.schema.json",
33
"id": "907d3b28-6b37-4ac7-ac75-9631ee53e512",
44
"name": "PRMetrics",
5-
"friendlyName": "PR Metrics v1.7.0",
5+
"friendlyName": "PR Metrics v1.7.1",
66
"description": "Augments pull request titles to let reviewers quickly determine PR size and test coverage.",
77
"helpUrl": "https://aka.ms/PRMetrics/README",
88
"helpMarkDown": "[More information](https://aka.ms/PRMetrics/README)",
99
"author": "Microsoft Corporation",
1010
"category": "Azure Pipelines",
1111
"visibility": ["Build"],
12-
"minimumAgentVersion": "4.252.0",
12+
"minimumAgentVersion": "4.251.0",
1313
"version": {
1414
"Major": 1,
1515
"Minor": 7,
16-
"Patch": 0
16+
"Patch": 1
1717
},
1818
"instanceNameFormat": "PR Metrics",
1919
"showEnvironmentVariables": true,

src/task/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"author": "Microsoft Corporation",
1010
"category": "Azure Pipelines",
1111
"visibility": ["Build"],
12-
"minimumAgentVersion": "4.252.0",
12+
"minimumAgentVersion": "4.251.0",
1313
"version": {
1414
"Major": 1,
1515
"Minor": 7,
16-
"Patch": 0
16+
"Patch": 1
1717
},
1818
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
1919
"showEnvironmentVariables": true,

src/task/tests/repos/gitHubReposInvoker.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe("gitHubReposInvoker.ts", (): void => {
3434
let octokitWrapper: OctokitWrapper;
3535
let runnerInvoker: RunnerInvoker;
3636

37-
const expectedUserAgent = "PRMetrics/v1.7.0";
37+
const expectedUserAgent = "PRMetrics/v1.7.1";
3838

3939
beforeEach((): void => {
4040
process.env.PR_METRICS_ACCESS_TOKEN = "PAT";

src/vss-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"manifestVersion": 1,
44
"id": "PRMetrics",
55
"name": "PR Metrics",
6-
"version": "1.7.0",
6+
"version": "1.7.1",
77
"publisher": "ms-omex",
88
"description": "Augments pull request titles to let reviewers quickly determine PR size and test coverage.",
99
"public": true,

0 commit comments

Comments
 (0)