Skip to content

Commit 68dc156

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Remove duplicate community files and unused stuff devlooped/oss@a4b66eb - Update readme for oss template, fix workflow config devlooped/oss@ee813ef - Add specific skip rules for tests devlooped/oss@448cf45 - Switch to old nuget.config for package sources devlooped/oss@c6f74ce # clarius/pages - Add cross-posting pages workflow clarius/pages@d3b026e - Create Gemfile clarius/pages@565a77f
1 parent 4d13b97 commit 68dc156

File tree

11 files changed

+68
-52
lines changed

11 files changed

+68
-52
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,10 @@ csharp_new_line_before_finally = true
8888
csharp_new_line_before_members_in_object_initializers = true
8989
csharp_new_line_before_members_in_anonymous_types = true
9090

91+
# Test settings
92+
[**/*Tests*/*{.cs,.vb}]
9193
# xUnit1013: Public method should be marked as test. Allows using records as test classes
9294
dotnet_diagnostic.xUnit1013.severity = none
95+
96+
# VSTHRD200: Use "Async" suffix for async methods
97+
dotnet_diagnostic.VSTHRD200.severity = none

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: ⚙ changelog
3232
run: |
3333
gem install github_changelog_generator
34-
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/.github_changelog_generator
34+
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/workflows/changelog.config
3535
3636
- name: 🚀 changelog
3737
run: |

.github/workflows/pages.yml

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
1+
# Workflow to cross-post a jekyll site (or GitHub Pages)
2+
# to another org/repo.
3+
# Required secrets in repository consuming this workflow:
4+
# - PAGES_ORGANIZATION: the target organization to publish
5+
# pages to.
6+
# - PAGES_ACCESS_TOKEN: a token that is valid in the target
7+
# org/repo for pushing the resulting site
8+
# - PAGES_REPOSITORY: optional repository name under the
9+
# target organization. Defaults to source repo name.
10+
111
name: pages
212
on:
313
workflow_dispatch:
414
push:
515
branches:
616
- main
717
- pages
18+
- docs
819

920
env:
1021
PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }}
@@ -13,7 +24,23 @@ env:
1324
jobs:
1425
gh-pages:
1526
runs-on: ubuntu-latest
27+
env:
28+
PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }}
29+
PAGES_REPOSITORY: ${{ secrets.PAGES_REPOSITORY }}
30+
PAGES_ACCESS_TOKEN: ${{ secrets.PAGES_ACCESS_TOKEN }}
1631
steps:
32+
- name: ✅ organization
33+
if: env.PAGES_ORGANIZATION == ''
34+
run: |
35+
echo "::error title=PAGES_ORGANIZATION secret is required."
36+
exit 1
37+
38+
- name: ✅ token
39+
if: env.PAGES_ACCESS_TOKEN == ''
40+
run: |
41+
echo "::error title=PAGES_ACCESS_TOKEN secret is required."
42+
exit 1
43+
1744
- name: 🤘 checkout
1845
uses: actions/checkout@v2
1946

@@ -22,14 +49,6 @@ jobs:
2249
sudo gem install bundler
2350
bundle install
2451
25-
- name: 🖉 default env
26-
env:
27-
PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }}
28-
PAGES_REPOSITORY: ${{ secrets.PAGES_REPOSITORY }}
29-
run: |
30-
echo "PAGES_ORGANIZATION=${PAGES_ORGANIZATION}" >> $GITHUB_ENV
31-
echo "PAGES_REPOSITORY=${PAGES_REPOSITORY}" >> $GITHUB_ENV
32-
3352
- name: 🖉 default repo
3453
if: env.PAGES_REPOSITORY == ''
3554
run: echo "PAGES_REPOSITORY=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
@@ -44,14 +63,14 @@ jobs:
4463
cd _site
4564
git init
4665
git add -A
47-
git config --local user.email "bot@devlooped.com"
48-
git config --local user.name "bot@devlooped.com"
66+
git config --local user.email "bot@clarius.org"
67+
git config --local user.name "bot@clarius.org"
4968
git commit -m "Publish pages from ${GITHUB_REPOSITORY}@${GITHUB_SHA:0:9}"
5069
5170
- name: 🚀 push
5271
uses: ad-m/[email protected]
5372
with:
54-
github_token: ${{ secrets.PAGES_ACCESS_TOKEN }}
73+
github_token: ${{ env.PAGES_ACCESS_TOKEN }}
5574
repository: ${{ env.PAGES_ORGANIZATION }}/${{ env.PAGES_REPOSITORY }}
5675
branch: gh-pages
5776
force: true

.github/workflows/release-notes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
if: env.SINCE_TAG != ''
3030
run: |
3131
gem install github_changelog_generator
32-
github_changelog_generator --since-tag ${{ env.SINCE_TAG }} --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token ${{ secrets.GITHUB_TOKEN }} --o changelog.md --config-file .github/.github_changelog_generator
32+
github_changelog_generator --since-tag ${{ env.SINCE_TAG }} --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token ${{ secrets.GITHUB_TOKEN }} --o changelog.md --config-file .github/workflows/changelog.config
3333
3434
- name: ⚙ changelog
3535
if: env.SINCE_TAG == ''
3636
run: |
3737
gem install github_changelog_generator
38-
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token ${{ secrets.GITHUB_TOKEN }} --o changelog.md --config-file .github/.github_changelog_generator
38+
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token ${{ secrets.GITHUB_TOKEN }} --o changelog.md --config-file .github/workflows/changelog.config
3939
4040
- name: 🖉 release
4141
shell: pwsh

.github/workflows/sponsor.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: sponsor ❤️
1+
name: sponsor 💜
22
on:
33
issues:
44
types: [opened, edited, reopened]
@@ -8,12 +8,17 @@ on:
88
jobs:
99
sponsor:
1010
runs-on: ubuntu-latest
11+
continue-on-error: true
12+
env:
13+
token: ${{ secrets.GH_TOKEN }}
1114
if: ${{ !endsWith(github.event.sender.login, '[bot]') && !endsWith(github.event.sender.login, 'bot') }}
1215
steps:
1316
- name: 🤘 checkout
17+
if: env.token != ''
1418
uses: actions/checkout@v2
1519

16-
- name: ❤️ sponsor
20+
- name: 💜 sponsor
21+
if: env.token != ''
1722
uses: devlooped/actions-sponsor@main
1823
with:
19-
token: ${{ secrets.GH_TOKEN }}
24+
token: ${{ env.token }}

.netconfig

Lines changed: 21 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
skip
1818
[file ".editorconfig"]
1919
url = https://github.com/devlooped/oss/blob/main/.editorconfig
20-
etag = 4e857df48d0abd81512350d6b3b1a1c83b78284be65bd5172a4ec8e52cd04e2d
20+
etag = 897634b9ba05c00e8ef35b24533d31bc43a5299be5a64e240109ba4c00fcad15
2121
weak
22-
sha = 369cd2bd49ce032f616a2fcb4c997535dbe8d9aa
22+
sha = 448cf45a26e068fe5d7164ea48d1dc8bf620df46
2323
[file ".gitattributes"]
2424
url = https://github.com/devlooped/oss/blob/main/.gitattributes
2525
etag = 7acb32f5fa6d4ccd9c824605a7c2b8538497f0068c165567807d393dcf4d6bb7
@@ -52,9 +52,9 @@
5252
sha = 0683ee777d7d878d4bf013d7deea352685135a05
5353
[file "src/Directory.Build.props"]
5454
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
55-
etag = 819e24ed16c1257f3c6ea3c728e1507020bacf32aeb63f5dd56f9a5cb2652275
55+
etag = 89855774fe1c198b2af190cd90b5df27ffe9c2cb5e242182fc9e757a83b23274
5656
weak
57-
sha = 2fea462dc563923800a7efad24a52aa0541a8864
57+
sha = c6f74cea5d6277e750d70886496aa1c84563bb46
5858
[file "src/Directory.Build.targets"]
5959
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
6060
etag = 852b16129d2c681ad6ec86ff56b256541e0ce0961eb3a9492e0ead89ffe5a6bd
@@ -65,30 +65,15 @@
6565
etag = b8d789b5b6bea017cdcc8badcea888ad78de3e34298efca922054e9fb0e7b6b9
6666
weak
6767
sha = 0683ee777d7d878d4bf013d7deea352685135a05
68-
[file ".github/ISSUE_TEMPLATE/config.yml"]
69-
url = https://github.com/devlooped/oss/blob/main/.github/ISSUE_TEMPLATE/config.yml
70-
etag = b5ce64e6967276086eb89f86f57364da9c4deac988c7e0e04810a4f8caaa1400
71-
weak
72-
sha = 6f1ed274e1e168da487affb88d69774fc2f926c3
7368
[file "assets/css/style.scss"]
7469
url = https://github.com/devlooped/oss/blob/main/assets/css/style.scss
7570
etag = f710d8919abfd5a8d00050b74ba7d0bb05c6d02e40842a3012eb96555c208504
7671
weak
7772
sha = 9db26e2710b084d219d6355339d822f159bf5780
78-
[file "assets/images/sponsors.png"]
79-
url = https://github.com/devlooped/oss/blob/main/assets/images/sponsors.png
80-
etag = f152d1038eb04cb1596a13377b032f18f2402c969130601384fb377ce5ddefbd
81-
weak
82-
sha = bf7b4569981b558b130bdd3ce93043d624a567d8
83-
[file "assets/images/sponsors.svg"]
84-
url = https://github.com/devlooped/oss/blob/main/assets/images/sponsors.svg
85-
etag = d545e385f5b7db32d12a15905e0173246953cc0efdce0595a67cf9544e0a4fed
86-
weak
87-
sha = 491c6ee4ed880dc92012dee9b1c4e7d3e9d14115
8873
[file ".github/workflows/changelog.yml"]
8974
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
90-
sha = 5406d907e0bf87dd1b4375f2ae2279dd775ed672
91-
etag = 034c69fefe727b412a52e49964646131b899d6e7bb1576fe9d4a4db9208675ff
75+
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
76+
etag = 54c0b571648b1055beb3ddac180b34e93a9869b9f0277de306901b2c1dbe0b2c
9277
weak
9378
[file ".github/workflows/dotnet-file.yml"]
9479
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
@@ -100,17 +85,18 @@
10085
skip
10186
[file ".github/workflows/release-notes.yml"]
10287
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-notes.yml
103-
sha = a922d0300a188bbd872bcf8ca48c6b7a13dee5df
104-
etag = 5db902d761d80de182417cfbece00cbb6d1fa4b99a945b3a97c57f58f7043b5d
88+
sha = ee813ef00359fc14b7ee263a02d863407c179b10
89+
etag = 420e07d6529a14d2007347a626a26246acee2f4301eb34cfa9b3ce55761f9f46
10590
weak
10691
[file ".github/workflows/pages.yml"]
10792
url = https://github.com/clarius/pages/blob/main/.github/workflows/pages.yml
93+
sha = d3b026ee6d3772debc989c4cec72156421336f94
94+
etag = 76f23752ceffc013040215aec5519e5069fec9cea1179828ef88d4e0652752f0
95+
weak
10896
[file "Gemfile"]
10997
url = https://github.com/clarius/pages/blob/main/Gemfile
110-
[file ".github/.github_changelog_generator"]
111-
url = https://github.com/devlooped/oss/blob/main/.github/.github_changelog_generator
112-
sha = b7ce2bedba3fe467b8bc252c372cd36bbde259a5
113-
etag = 28145d505ce95b57628ab368bb12744300d5f539d3651c346e3c0c3f772ffa7b
98+
sha = 565a77f40db0863cb47ceb36f88790259a697c91
99+
etag = 24e482e91192e292b633e3c17c4f095286ffb5a041d299d761b2e6ef99ee7669
114100
weak
115101
[file ".github/workflows/test/action.yml"]
116102
url = https://github.com/devlooped/oss/blob/main/.github/workflows/test/action.yml
@@ -124,12 +110,17 @@
124110
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
125111
skip
126112
[file ".github/workflows/sponsor.yml"]
127-
url = https://github.com/devlooped/.github/blob/main/.github/workflows/sponsor.yml
128-
sha = e347e5c7b91aaeb11eff95037c2c0b54206cc976
129-
etag = 06319ff741c03cf4cd5113926d490ec09999a85b5a0e0480ce44222db026341a
113+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
114+
sha = 8990ebb36199046e0b8098bad9e46dcef739c56e
115+
etag = e1dc114d2e8b57d50649989d32dbf0c9080ec77da3738a4cc79e9256d6ca5d3e
130116
weak
131117
[file ".github/workflows/combine-prs.yml"]
132118
url = https://github.com/devlooped/oss/blob/main/.github/workflows/combine-prs.yml
133119
sha = 74189b061850a3527676d76281de61044abc86a2
134120
etag = 10106929413a89658d22c36b5b934c598809e1deb8cdd994ec846f824195aac6
135121
weak
122+
[file ".github/workflows/changelog.config"]
123+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
124+
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
125+
etag = 28145d505ce95b57628ab368bb12744300d5f539d3651c346e3c0c3f772ffa7b
126+
weak

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source 'https://rubygems.org'
22

3-
gem 'github-pages', '~> 209', group: :jekyll_plugins
3+
gem 'github-pages', '~> 209', group: :jekyll_plugins

assets/images/sponsors.png

-10.2 KB
Binary file not shown.

assets/images/sponsors.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)