mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
Compare commits
3 Commits
v2.290.1
...
users/tihu
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d316c0a75 | ||
|
|
1c582abc8b | ||
|
|
44d4d076fe |
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,7 +13,6 @@
|
|||||||
- 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 @@
|
|||||||
2.290.1
|
<Update to ./src/runnerversion when creating release>
|
||||||
|
|||||||
@@ -154,6 +154,12 @@ 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,6 +947,7 @@ 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.1
|
2.290.0
|
||||||
|
|||||||
Reference in New Issue
Block a user