mirror of
https://github.com/actions/runner.git
synced 2026-01-17 17:27:41 +08:00
Compare commits
2 Commits
users/tihu
...
releases/m
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b86ce48745 | ||
|
|
d95bfc5d1f |
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -101,11 +101,11 @@ jobs:
|
|||||||
working-directory: src
|
working-directory: src
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
#- name: L0
|
- name: L0
|
||||||
# run: |
|
run: |
|
||||||
# ${{ matrix.devScript }} test
|
${{ matrix.devScript }} test
|
||||||
# working-directory: src
|
working-directory: src
|
||||||
# if: matrix.runtime != 'linux-arm64' && matrix.runtime != 'linux-arm'
|
if: matrix.runtime != 'linux-arm64' && matrix.runtime != 'linux-arm'
|
||||||
|
|
||||||
# Create runner package tar.gz/zip
|
# Create runner package tar.gz/zip
|
||||||
- name: Package Release
|
- name: Package Release
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
- Better exception handling when runner is configured with invalid Url or token (#1741)
|
- Better exception handling when runner is configured with invalid Url or token (#1741)
|
||||||
- Set user agent for websocket requests (#1791)
|
- Set user agent for websocket requests (#1791)
|
||||||
- Gracefully handle websocket failures (#1789)
|
- Gracefully handle websocket failures (#1789)
|
||||||
|
- Capture telemetry when git errors on unsafe repository. (#1823)
|
||||||
|
|
||||||
## Windows x64
|
## Windows x64
|
||||||
We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows.
|
We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows.
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<Update to ./src/runnerversion when creating release>
|
2.290.1
|
||||||
|
|||||||
@@ -154,12 +154,6 @@ namespace GitHub.Runner.Worker.Handlers
|
|||||||
if (line.Contains("fatal: unsafe repository", StringComparison.OrdinalIgnoreCase))
|
if (line.Contains("fatal: unsafe repository", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
_executionContext.StepTelemetry.ErrorMessages.Add(line);
|
_executionContext.StepTelemetry.ErrorMessages.Add(line);
|
||||||
var gitUnsafeDirNotice = new DTWebApi.Issue
|
|
||||||
{
|
|
||||||
Message = $"You may experience error caused by a recently git safe directory enforcement. For more information see: https://github.blog/changelog/xxx",
|
|
||||||
Type = DTWebApi.IssueType.Notice,
|
|
||||||
};
|
|
||||||
_executionContext.AddIssue(gitUnsafeDirNotice);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Regular output
|
// Regular output
|
||||||
|
|||||||
@@ -947,7 +947,6 @@ namespace GitHub.Runner.Common.Tests.Worker
|
|||||||
{
|
{
|
||||||
Process("fatal: unsafe repository ('/github/workspace' is owned by someone else)");
|
Process("fatal: unsafe repository ('/github/workspace' is owned by someone else)");
|
||||||
Assert.Contains("fatal: unsafe repository ('/github/workspace' is owned by someone else)", _executionContext.Object.StepTelemetry.ErrorMessages);
|
Assert.Contains("fatal: unsafe repository ('/github/workspace' is owned by someone else)", _executionContext.Object.StepTelemetry.ErrorMessages);
|
||||||
Assert.Contains(_issues, x => x.Item1.Type == DTWebApi.IssueType.Notice && x.Item1.Message.Contains("You may experience error caused by a recently git safe directory enforcement"));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
2.290.0
|
2.290.1
|
||||||
|
|||||||
Reference in New Issue
Block a user