File tree Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - ' main'
77 paths :
8- - ' **.md'
8+ - ' **.md'
99 - ' !changelog.md'
10+ - ' osmfeula.txt'
1011
1112jobs :
1213 includes :
@@ -31,10 +32,29 @@ jobs:
3132 - name : +Mᐁ includes
3233 uses : devlooped/actions-includes@v1
3334
35+ - name : 📝 OSMF EULA
36+ shell : pwsh
37+ run : |
38+ $file = "osmfeula.txt"
39+ $props = "src/Directory.Build.props"
40+ if (-not (test-path $file) -or -not (test-path $props)) {
41+ exit 0
42+ }
43+
44+ $product = dotnet msbuild $props -getproperty:Product
45+ if (-not $product) {
46+ write-error "To use OSMF EULA, ensure the $(Product) property is set in Directory.props"
47+ exit 1
48+ }
49+
50+ ((get-content -raw $file) -replace '\$product\$',$product).trim() | set-content $file
51+
3452 - name : ✍ pull request
3553 uses : peter-evans/create-pull-request@v6
3654 with :
37- add-paths : ' **.md'
55+ add-paths : |
56+ **.md
57+ osmfeula.txt
3858 base : main
3959 branch : markdown-includes
4060 delete-branch : true
Original file line number Diff line number Diff line change 102102 skip
103103[file ".github/workflows/includes.yml"]
104104 url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
105- sha = 85829f2510f335f4a411867f3dbaaa116c3ab3de
105+ sha = 6a6de0580b40e305f7a0f41b406d4aabaa0756fe
106106
107- etag = 086f6b6316cc6ea7089c0dcc6980be519e6ed6e6201e65042ef41b82634ec0ee
107+ etag = 1a5cd7a883700c328105910cc212f5f8c9f3759fc1af023e048a9f486da794c1
108108 weak
109109[file ".github/workflows/publish.yml"]
110110 url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
Original file line number Diff line number Diff line change @@ -469,7 +469,6 @@ The versioning scheme for packages is:
469469 [! [Keith Pickford ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Keflon.png "Keith Pickford")](https://github.com/Keflon)
470470 [! [Thomas Bolon ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tbolon.png "Thomas Bolon")](https://github.com/tbolon)
471471 [! [Kori Francis ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/kfrancis.png "Kori Francis")](https://github.com/kfrancis)
472- [! [Toni Wenzel ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/twenzel.png "Toni Wenzel")](https://github.com/twenzel)
473472 [! [Uno Platform ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/unoplatform.png "Uno Platform")](https://github.com/unoplatform)
474473 [! [Reuben Swartz ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/rbnswartz.png "Reuben Swartz")](https://github.com/rbnswartz)
475474 [! [Jacob Foshee ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jfoshee.png "Jacob Foshee")](https://github.com/jfoshee)
@@ -492,7 +491,7 @@ The versioning scheme for packages is:
492491 [! [Adrian Alonso ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/adalon.png "Adrian Alonso")](https://github.com/adalon)
493492 [! [Michael Hagedorn ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Eule02.png "Michael Hagedorn")](https://github.com/Eule02)
494493 [! [torutek ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/torutek.png "torutek")](https://github.com/torutek)
495- [! [mccaffers ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/mccaffers.png "mccaffers ")](https://github.com/mccaffers)
494+ [! [Ryan McCaffery ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/mccaffers.png "Ryan McCaffery ")](https://github.com/mccaffers)
496495 [! [Alex Wiese ](https :// raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/alexwiese.png "Alex Wiese")](https://github.com/alexwiese)
497496
498497
You can’t perform that action at this time.
0 commit comments