Skip to content
Merged
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
56ff4fa
Branding github actions
edvilme Mar 7, 2025
2fc181c
Update permissions
edvilme Mar 7, 2025
e394273
Print valid changes
edvilme Mar 7, 2025
ef7c821
Checkout repo
edvilme Mar 7, 2025
e5a8ab0
Update diff with js
edvilme Mar 8, 2025
9700b6e
Fix js
edvilme Mar 8, 2025
330c160
Clean up code
edvilme Mar 8, 2025
5af677f
Apply suggestions
edvilme Mar 8, 2025
bf47eb0
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] May 15, 2025
3d2d066
[release/8.0.1xx] Update dependencies from dotnet/templating (#48978)
May 15, 2025
8bf9a2f
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] May 16, 2025
8978474
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] May 16, 2025
6a88b80
[release/8.0.1xx] Update dependencies from dotnet/arcade (#48994)
May 16, 2025
ed35954
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
May 16, 2025
85600a2
[release/8.0.1xx] Update dependencies from dotnet/templating (#48998)
May 16, 2025
eba9cbe
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.3xx' (#49003)
May 16, 2025
30b71ab
Update branding to 8.0.314
vseanreesermsft May 16, 2025
340420f
Update branding to 8.0.314 (#49018)
marcpopMSFT May 16, 2025
1eb61fe
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] May 17, 2025
512e828
[release/8.0.3xx] Update dependencies from dotnet/templating (#49031)
May 19, 2025
0862c66
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] May 19, 2025
fb4faad
Delete src/arcade/eng/common directory
akoeplinger May 19, 2025
f947d8a
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] May 20, 2025
3d254f2
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] May 20, 2025
b64c7cf
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] May 20, 2025
993e54b
Update dependencies from https://github.com/dotnet/razor build 202505…
dotnet-maestro[bot] May 25, 2025
fdb27fa
Update dependencies from https://github.com/dotnet/razor build 202505…
dotnet-maestro[bot] May 26, 2025
67a8554
Fix minimum width of Author column in tabular output
May 27, 2025
b3ec429
Fix minimum width of Author column in tabular output
May 27, 2025
ef24b58
Update branding to 8.0.315
vseanreesermsft Jun 4, 2025
2293e36
Update branding to 8.0.315 (#49243)
marcpopMSFT Jun 4, 2025
f217c38
Update branding to 8.0.118
vseanreesermsft Jun 4, 2025
ef57c0b
[release/8.0.3xx] Fix minimum width of Author column in tabular outpu…
marcpopMSFT Jun 4, 2025
9a5194a
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jun 4, 2025
164fba2
[release/8.0.1xx] Fix minimum width of Author column in tabular outpu…
Jun 5, 2025
3a08619
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jun 5, 2025
fd89632
Merge branch 'release/8.0.4xx' of https://github.com/dotnet/sdk into …
Jun 5, 2025
798ab66
Update branding to 8.0.118 (#49252)
Jun 5, 2025
8e4cca6
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jun 5, 2025
a27fe65
[release/8.0.1xx] Update dependencies from dotnet/templating (#49050)
Jun 5, 2025
0b5780d
[release/8.0.1xx] Delete `src/arcade/eng/common` directory (#49053)
Jun 5, 2025
1ae6fc2
[release/8.0.1xx] Update dependencies from dotnet/source-build-refere…
Jun 5, 2025
cf33e4e
[release/8.0.3xx] Update dependencies from dotnet/source-build-refere…
Jun 5, 2025
63438a4
[release/8.0.3xx] Update dependencies from dotnet/templating (#49069)
Jun 5, 2025
57150dd
Merge branch 'release/8.0.1xx' of https://github.com/dotnet/sdk into …
Jun 5, 2025
dffb3cc
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Jun 5, 2025
eb87d79
[release/8.0.1xx] Update dependencies from dotnet/razor (#49132)
Jun 5, 2025
aea7e84
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Jun 5, 2025
e7802fb
Delete src/arcade/eng/common directory
Jun 5, 2025
03a237c
[release/8.0.3xx] Update dependencies from dotnet/razor (#49138)
Jun 5, 2025
3a6b2be
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jun 6, 2025
6a5674f
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jun 6, 2025
5109352
[release/8.0.4xx] Update dependencies from dotnet/templating (#49277)
Jun 6, 2025
92734d2
[release/8.0.3xx] Update dependencies from dotnet/templating (#49276)
Jun 6, 2025
bb5116e
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.3xx' (#49254)
Jun 6, 2025
1c6164b
[automated] Merge branch 'release/8.0.3xx' => 'release/8.0.4xx' (#49249)
Jun 6, 2025
f57df07
Merge branch 'release/8.0.4xx' of https://github.com/dotnet/sdk into …
Jun 6, 2025
114b3d8
[release/8.0.4xx] Trusted roots: 2025-05 CTL (#49272)
dtivel Jun 6, 2025
a977de3
[automated] Merge branch 'release/8.0.3xx' => 'release/8.0.4xx' (#49279)
Jun 10, 2025
992970a
Merge branch 'release/9.0.1xx' into backport/pr-47371-to-release/9.0.1xx
MiYanni Jun 11, 2025
24fb587
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Jun 11, 2025
e238af7
[release/8.0.4xx] Update dependencies from dotnet/arcade (#49339)
Jun 11, 2025
94bf8b1
Merge branch 'release/9.0.1xx' of https://github.com/dotnet/sdk into …
Jun 11, 2025
1253d3e
Delete src/arcade/eng/common directory
Jun 11, 2025
e86b026
[automated] Merge branch 'release/8.0.4xx' => 'release/9.0.1xx' (#49343)
Jun 11, 2025
b7202bd
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Jun 11, 2025
39ca42f
[release/9.0.1xx] [Github Actions] Remove Branch Lockdown Labels on B…
MiYanni Jun 11, 2025
16127c3
[release/9.0.1xx] Update dependencies from dotnet/templating (#49345)
MiYanni Jun 11, 2025
c7bbdf0
Merge branch 'release/9.0.3xx' of https://github.com/dotnet/sdk into …
Jun 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .github/workflows/remove-lockdown-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Remove Lockdown Label from PRs

on:
pull_request:
types: [closed]

permissions:
actions: write
pull-requests: write

jobs:
remove-labels:
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'Branding')
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: PR's only change is <VersionFeature> in eng/Versions.props
id: only_version_feature_changed
uses: actions/github-script@v4
with:
script: |
const otherChangesMessage = "❌ Changes in eng/Versions.props other than <VersionFeature> found";
const onlyVersionFeatureMessage = "✅ PR's only change is <VersionFeature> in eng/Versions.props";
const prNumber = context.payload.pull_request.number;
const { data: files } = await github.pulls.listFiles({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: prNumber
});
// If files other than eng/Versions.props are changed, output message and exit
if (files.some(file => file.filename !== "eng/Versions.props")) {
console.log(otherChangesMessage);
core.exportVariable("only_version_feature_changed", "false");
return;
}
// Iterate through the patch of eng/Versions.props to check for changes other than <VersionFeature>
const versionsPropsFile = files.find(file => file.filename === "eng/Versions.props");
const patchLines = versionsPropsFile.patch.split("\n").filter(l => l.startsWith("+") || l.startsWith("-"));
for (const line of patchLines) {
if (!line.includes("<VersionFeature>")) {
console.log(otherChangesMessage);
core.exportVariable("only_version_feature_changed", "false");
return;
}
}
console.log(onlyVersionFeatureMessage);
core.exportVariable("only_version_feature_changed", "true");

- name: Remove Branch Lockdown label from other PRs targeting this branch
if: steps.only_version_feature_changed.outputs.only_version_feature_changed == 'true'
uses: actions/github-script@v4
with:
script: |
const prs = await github.pulls.list({
owner: context.repo.owner,
repo: context.repo.repo,
state: 'open',
base: github.event.pull_request.base.ref,
per_page: 300
});
const filtered_prs = prs.data
.filter(pr => pr.number !== github.context.payload.pull_request.number)
.filter(pr => pr.labels.map(label => label.name).includes('Branch Lockdown'));
for (const pr of filtered_prs) {
await github.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pr.number,
name: 'Branch Lockdown'
});
console.log(`Removed Branch Lockdown label from PR #${pr.number}`);
}