Skip to content

Commit 60ae6f9

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Hide osmfeula.txt from package visibility devlooped/oss@a1f5d11 - Add OpenTelemetry patterns to dependabot config devlooped/oss@387f061 - Refactor GitHub Actions workflows to use unified PR_TOKEN for authentication and add skip PR creation warning devlooped/oss@7c1c6e6 - Add AzuriteConfig to .gitignore devlooped/oss@12c18e7
1 parent cfb8713 commit 60ae6f9

7 files changed

Lines changed: 40 additions & 20 deletions

File tree

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ updates:
3232
Web:
3333
patterns:
3434
- "Microsoft.AspNetCore*"
35+
OpenTelemetry:
36+
patterns:
37+
- "OpenTelemetry*"
3538
Tests:
3639
patterns:
3740
- "Microsoft.NET.Test*"

.github/workflows/dotnet-env.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
jobs:
1111
which-dotnet:
1212
runs-on: ubuntu-latest
13+
env:
14+
PR_TOKEN: ${{ secrets.DEVLOOPED_TOKEN || secrets.GH_TOKEN }}
1315
permissions:
1416
contents: write
1517
pull-requests: write
@@ -20,18 +22,19 @@ jobs:
2022
with:
2123
name: ${{ secrets.BOT_NAME }}
2224
email: ${{ secrets.BOT_EMAIL }}
23-
gh_token: ${{ secrets.GH_TOKEN }}
25+
gh_token: ${{ env.PR_TOKEN }}
2426
github_token: ${{ secrets.GITHUB_TOKEN }}
2527

2628
- name: 🤘 checkout
2729
uses: actions/checkout@v4
2830
with:
29-
token: ${{ env.GH_TOKEN }}
31+
token: ${{ env.PR_TOKEN || github.token }}
3032

3133
- name: 🤌 dotnet
3234
uses: devlooped/actions-which-dotnet@v1
3335

3436
- name: ✍ pull request
37+
if: env.PR_TOKEN != ''
3538
uses: peter-evans/create-pull-request@v7
3639
with:
3740
base: main
@@ -41,4 +44,9 @@ jobs:
4144
title: "⚙ Update dotnet versions"
4245
body: "Update dotnet versions"
4346
commit-message: "Update dotnet versions"
44-
token: ${{ env.GH_TOKEN }}
47+
token: ${{ env.PR_TOKEN }}
48+
49+
- name: ⚠️ skip pull request
50+
if: env.PR_TOKEN == ''
51+
shell: bash
52+
run: echo "::warning::Skipping PR creation because neither DEVLOOPED_TOKEN nor GH_TOKEN is configured. GITHUB_TOKEN cannot create pull requests in this repository."

.github/workflows/includes.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
includes:
1414
runs-on: ubuntu-latest
15+
env:
16+
PR_TOKEN: ${{ secrets.DEVLOOPED_TOKEN || secrets.GH_TOKEN }}
1517
permissions:
1618
contents: write
1719
pull-requests: write
@@ -21,13 +23,13 @@ jobs:
2123
with:
2224
name: ${{ secrets.BOT_NAME }}
2325
email: ${{ secrets.BOT_EMAIL }}
24-
gh_token: ${{ secrets.GH_TOKEN }}
26+
gh_token: ${{ env.PR_TOKEN }}
2527
github_token: ${{ secrets.GITHUB_TOKEN }}
2628

2729
- name: 🤘 checkout
2830
uses: actions/checkout@v4
2931
with:
30-
token: ${{ env.GH_TOKEN }}
32+
token: ${{ env.PR_TOKEN || github.token }}
3133

3234
- name: +Mᐁ includes
3335
uses: devlooped/actions-includes@v1
@@ -50,6 +52,7 @@ jobs:
5052
((get-content -raw $file) -replace '\$product\$',$product).trim() | set-content $file
5153
5254
- name: ✍ pull request
55+
if: env.PR_TOKEN != ''
5356
uses: peter-evans/create-pull-request@v8
5457
with:
5558
add-paths: |
@@ -64,4 +67,9 @@ jobs:
6467
commit-message: +Mᐁ includes
6568
title: +Mᐁ includes
6669
body: +Mᐁ includes
67-
token: ${{ env.GH_TOKEN }}
70+
token: ${{ env.PR_TOKEN }}
71+
72+
- name: ⚠️ skip pull request
73+
if: env.PR_TOKEN == ''
74+
shell: bash
75+
run: echo "::warning::Skipping PR creation because neither DEVLOOPED_TOKEN nor GH_TOKEN is configured. GITHUB_TOKEN cannot create pull requests in this repository."

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ local.settings.json
2626
*.binlog
2727
*.zip
2828
__azurite*.*
29+
AzuriteConfig
2930
__*__
3031

3132
.nuget

.netconfig

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,29 @@
2121
sha = 4a9aa321c4982b83c185cf8dffed181ff84667d5
2222
[file ".github/dependabot.yml"]
2323
url = https://github.com/devlooped/oss/blob/main/.github/dependabot.yml
24-
etag = 3bf8d9214a15c049ca5cfe80d212a8cbe4753b8a638a9804ef73d34c7def9618
24+
etag = a1aaba1440e5ee2a7b7f93fc0fb004d4e1d4d9780350c753f7c429e37241345a
2525
weak
26-
sha = e733294084fb3e75d517a2e961e87df8faae7dc6
26+
sha = 387f0616b2c56adc4f33f2858da818f7e0d92ef3
2727
[file ".github/workflows/build.yml"]
2828
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
2929
etag = 851af098748f7cfa5bc3cfd4cc404a6de930532b59ceb2b3b535282c41226f3a
3030
weak
3131
sha = 5da103cfbc1c4f9b5f59cfa698d2afbd744a7525
3232
[file ".gitignore"]
3333
url = https://github.com/devlooped/oss/blob/main/.gitignore
34-
etag = 20a8b49d57024abbd85aac5b0020c30e5eb68e0384b2761e93727c8780c4a991
34+
etag = 69c38c664debe4cbb8b68a87bacb1c93d0ac9757635c31a42292317f05484728
3535
weak
36-
sha = a225b7a9f609f26bcc24e0d84f663387be251a7d
36+
sha = 12c18e78c4bbab118b798d04344e5a5253216841
3737
[file "license.txt"]
3838
url = https://github.com/devlooped/oss/blob/main/license.txt
3939
etag = 2c6335b37e4ae05eea7c01f5d0c9d82b49c488f868a8b5ba7bff7c6ff01f3994
4040
weak
4141
sha = 0683ee777d7d878d4bf013d7deea352685135a05
4242
[file "src/Directory.Build.props"]
4343
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
44-
etag = bd05f9f240823c0ac79ddfefe654061550c36f82dd94fa513b82900e92686a5f
44+
etag = b2b90c6d617db9712cc8be2031b767d3ba951015717984f52b4872cc39f93e72
4545
weak
46-
sha = 0ff8b7b79a82112678326d1dc5543ed890311366
46+
sha = a1f5d11d1821959a141567ed24f9ea43205edd13
4747
[file "src/Directory.Build.targets"]
4848
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
4949
etag = 907682e5632a2ba430357e6e042a4ca33cb8c94a3a215d3091aa03f5958a4877
@@ -89,8 +89,8 @@
8989
skip
9090
[file ".github/workflows/includes.yml"]
9191
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
92-
sha = 06628725a6303bb8c4cf3076a384fc982a91bc0b
93-
etag = 478f91d4126230e57cc601382da1ba23f9daa054645b4af89800d8dd862e64fd
92+
sha = 7c1c6e615b5785e0ac9db33cb17343d6c1de16ff
93+
etag = 5e6a10be141ee629201bfad01eae09b5c36a67f541ec7ab411ae400b5d73de1d
9494
weak
9595
[file ".github/workflows/changelog.config"]
9696
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
@@ -120,8 +120,8 @@
120120
skip
121121
[file ".github/workflows/dotnet-env.yml"]
122122
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-env.yml
123-
sha = 77e83f238196d2723640abef0c7b6f43994f9747
124-
etag = fcb9759a96966df40dcd24906fd328ddec05953b7e747a6bb8d0d1e4c3865274
123+
sha = 7c1c6e615b5785e0ac9db33cb17343d6c1de16ff
124+
etag = 68c1e28f475ff9d05f985bf53a51fce6e64b24a8b75bd8e47119ff57309281f1
125125
weak
126126
[file "readme.tmp.md"]
127127
url = https://github.com/devlooped/oss/blob/main/readme.tmp.md
@@ -133,3 +133,4 @@
133133
url = https://github.com/devlooped/oss/blob/main/.github/copilot-instructions.md
134134
etag = 6ee650d118a57494d3545d54718ccaa5257b09d54504e9c21514fe596edd9678
135135
weak
136+
sha = e616d89d9537c4b8ccf1c20dd277ab82104167c4

readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,10 @@ The versioning scheme for packages is:
217217
[![domischell](https://avatars.githubusercontent.com/u/66068846?u=0a5c5e2e7d90f15ea657bc660f175605935c5bea&v=4&s=39 "domischell")](https://github.com/DominicSchell)
218218
[![Adrian Alonso](https://avatars.githubusercontent.com/u/2027083?u=129cf516d99f5cb2fd0f4a0787a069f3446b7522&v=4&s=39 "Adrian Alonso")](https://github.com/adalon)
219219
[![torutek](https://avatars.githubusercontent.com/u/33917059?v=4&s=39 "torutek")](https://github.com/torutek)
220-
[![mccaffers](https://avatars.githubusercontent.com/u/16667079?u=110034edf51097a5ee82cb6a94ae5483568e3469&v=4&s=39 "mccaffers")](https://github.com/mccaffers)
220+
[![Ryan McCaffery](https://avatars.githubusercontent.com/u/16667079?u=c0daa64bb5c1b572130e05ae2b6f609ecc912d4d&v=4&s=39 "Ryan McCaffery")](https://github.com/mccaffers)
221221
[![Seika Logiciel](https://avatars.githubusercontent.com/u/2564602?v=4&s=39 "Seika Logiciel")](https://github.com/SeikaLogiciel)
222222
[![Andrew Grant](https://avatars.githubusercontent.com/devlooped-user?s=39 "Andrew Grant")](https://github.com/wizardness)
223-
[![Lars](https://avatars.githubusercontent.com/u/1727124?v=4&s=39 "Lars")](https://github.com/latonz)
224-
[![prime167](https://avatars.githubusercontent.com/u/3722845?v=4&s=39 "prime167")](https://github.com/prime167)
223+
[![eska-gmbh](https://avatars.githubusercontent.com/devlooped-team?s=39 "eska-gmbh")](https://github.com/eska-gmbh)
225224

226225

227226
<!-- sponsors.md -->

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
</ItemGroup>
168168

169169
<ItemGroup Label="OSMF" Condition="Exists('$(MSBuildThisFileDirectory)..\osmfeula.txt')">
170-
<Content Include="$(MSBuildThisFileDirectory)..\osmfeula.txt" Link="osmfeula.txt" Pack="true" PackagePath="OSMFEULA.txt" />
170+
<Content Include="$(MSBuildThisFileDirectory)..\osmfeula.txt" Link="osmfeula.txt" Pack="true" PackagePath="OSMFEULA.txt" Visible="false" />
171171
</ItemGroup>
172172

173173
<Import Project="Directory.props" Condition="Exists('Directory.props')"/>

0 commit comments

Comments
 (0)