Skip to content

Commit 6eeaa11

Browse files
authored
Fix various GitHub Actions (#4716)
* Add dd-dotnet.sh to expected file changes * Fix code_freeze_start not opening code_freeze milestone * Fix rel env images
1 parent 913d2fb commit 6eeaa11

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.github/workflows/auto_create_rel_env_release_images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
ref="refs/heads/hotfix/$version"
3434
fi
3535
36-
sha=$(git rev-parse tags/tag_name)
36+
sha=$(git rev-parse tags/$tag_name)
3737
3838
echo "using '$ref' ref for '$version' version, with sha '$sha'"
3939
echo "tag=$tag_name" >> $GITHUB_OUTPUT

.github/workflows/code_freeze_start.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ jobs:
1818
- name: Clone dd-trace-dotnet repository
1919
uses: actions/checkout@v3
2020

21+
- uses: octokit/[email protected]
22+
name: 'Open Code Freeze Milestone'
23+
id: milestones
24+
if: github.event_name == 'workflow_dispatch'
25+
with:
26+
route: PATCH /repos/{owner}/{repo}/milestones/115
27+
owner: DataDog
28+
repo: dd-trace-dotnet
29+
state: open
30+
env:
31+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
32+
2133
- uses: ./.github/actions/code-freeze
2234
name: 'Freeze 25 PRs'
2335
with:

tracer/build/_build/Build.GitHub.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ await client.Issue.Milestone.Update(
418418
"shared/src/Datadog.Trace.ClrProfiler.Native/CMakeLists.txt",
419419
"shared/src/Datadog.Trace.ClrProfiler.Native/Resource.rc",
420420
"shared/src/msi-installer/WindowsInstaller.wixproj",
421+
"tracer/build/artifacts/dd-dotnet.sh",
421422
"tracer/build/_build/Build.cs",
422423
"tracer/samples/AutomaticTraceIdInjection/MicrosoftExtensionsExample/MicrosoftExtensionsExample.csproj",
423424
"tracer/samples/AutomaticTraceIdInjection/Log4NetExample/Log4NetExample.csproj",

0 commit comments

Comments
 (0)