Compare commits

..

3 Commits

Author SHA1 Message Date
Lokesh Gopu
fe300b68a6 handle secret ending with &+ 2023-09-15 00:33:33 -04:00
Stefan Ruvceski
2908d82845 remove debug-only flag from stale bot action (#2834)
Co-authored-by: Ben Wells <benwells@github.com>
2023-09-11 13:19:05 +00:00
John Sudol
3f5b813499 Prepare runner release 2.309.0 (#2833) 2023-09-07 10:48:53 -04:00
3 changed files with 17 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
name: Close stale Runner issues
name: Stale Bot
on:
workflow_dispatch:
schedule:
@@ -9,9 +9,8 @@ jobs:
steps:
- uses: actions/stale@v8
with:
stale-issue-message: This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days.
close-issue-message: This issue was closed because it has been stalled for 15 days with no activity.
exempt-issue-labels: keep
stale-issue-message: "This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days."
close-issue-message: "This issue was closed because it has been stalled for 15 days with no activity."
exempt-issue-labels: "keep"
days-before-stale: 365
days-before-close: 15
debug-only: true
days-before-close: 15

View File

@@ -1 +1 @@
2.309.0
<Update to ./src/runnerversion when creating release>

View File

@@ -98,7 +98,17 @@ namespace GitHub.DistributedTask.Logging
var secretSection = string.Empty;
if (value.Contains("&+"))
{
secretSection = value.Substring(0, value.IndexOf("&+") + "&+".Length);
int endIndex = value.IndexOf("&+") + "&+".Length;
// If string ends with "&+", grab the whole string
if (endIndex == value.Length)
{
secretSection = value;
}
else
{
secretSection = value.Substring(0, endIndex);
}
}
else
{