Skip to content

Commit 74e49e8

Browse files
devlooped-botkzu
authored andcommitted
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Remove duplicate community files and unused stuff devlooped/oss@a4b66eb - Don't fail sponsors tagging, since it's optional devlooped/oss@8990ebb - Update readme for oss template, fix workflow config devlooped/oss@ee813ef # clarius/pages - Create Gemfile clarius/pages@565a77f - Add cross-posting pages workflow clarius/pages@d3b026e
1 parent d37876c commit 74e49e8

10 files changed

+64
-93
lines changed
File renamed without changes.

.github/workflows/changelog.yml

+1-1
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

+30-11
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-artifacts.yml

-41
This file was deleted.

.github/workflows/release-notes.yml

+2-2
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

+8-3
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

+22-31
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@
4040
etag = 2c6335b37e4ae05eea7c01f5d0c9d82b49c488f868a8b5ba7bff7c6ff01f3994
4141
weak
4242
sha = 0683ee777d7d878d4bf013d7deea352685135a05
43-
[file "security.md"]
44-
url = https://github.com/devlooped/oss/blob/main/security.md
45-
etag = fc8101fd914820db3e6b42d608dc46aefbc60c830ac721ed3917daead3727dbd
46-
weak
47-
sha = a0f58a6d63e48ae6e55944c556d0bc94476dc8df
4843
[file "src/Directory.Build.props"]
4944
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
5045
etag = 89855774fe1c198b2af190cd90b5df27ffe9c2cb5e242182fc9e757a83b23274
@@ -62,9 +57,9 @@
6257
sha = 0683ee777d7d878d4bf013d7deea352685135a05
6358
[file ".netconfig"]
6459
url = https://github.com/devlooped/oss/blob/main/.netconfig
65-
etag = f21ad23790f07a741656ff4d53093aa0f73156d88cfb5112047e6547bae8d5f3
60+
etag = 50445d8ade10a983734d0f5f46e1b5089bc8924051aebbf659c3f3e0755ee1e0
6661
weak
67-
sha = 0849d6a4e1f158642de157bf348bf424e006a665
62+
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
6863
[file "Directory.Build.rsp"]
6964
url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp
7065
etag = 6a6c6e1d3895df953abf14c82b0899e3eea75cdcd679f6212dcfea15183d73d6
@@ -83,41 +78,21 @@
8378
etag = f710d8919abfd5a8d00050b74ba7d0bb05c6d02e40842a3012eb96555c208504
8479
weak
8580
sha = 9db26e2710b084d219d6355339d822f159bf5780
86-
[file "assets/images/sponsors.png"]
87-
url = https://github.com/devlooped/oss/blob/main/assets/images/sponsors.png
88-
etag = f152d1038eb04cb1596a13377b032f18f2402c969130601384fb377ce5ddefbd
89-
weak
90-
sha = bf7b4569981b558b130bdd3ce93043d624a567d8
91-
[file "assets/images/sponsors.svg"]
92-
url = https://github.com/devlooped/oss/blob/main/assets/images/sponsors.svg
93-
etag = d545e385f5b7db32d12a15905e0173246953cc0efdce0595a67cf9544e0a4fed
94-
weak
95-
sha = 491c6ee4ed880dc92012dee9b1c4e7d3e9d14115
9681
[file ".github/workflows/changelog.yml"]
9782
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
98-
etag = 034c69fefe727b412a52e49964646131b899d6e7bb1576fe9d4a4db9208675ff
83+
etag = 54c0b571648b1055beb3ddac180b34e93a9869b9f0277de306901b2c1dbe0b2c
9984
weak
100-
sha = 5406d907e0bf87dd1b4375f2ae2279dd775ed672
85+
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
10186
[file ".github/workflows/publish.yml"]
10287
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
10388
etag = 1d6a05b7f684b4fc1bb387750b0e100406e8a0017981c4e9d39a012479f35266
10489
weak
10590
sha = 0e5a33cc685fa85e3a81b797202f3e14e1cd84a9
106-
[file ".github/workflows/release-artifacts.yml"]
107-
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-artifacts.yml
108-
etag = 95690a8497d50db8a9116a193ba690ef64afdc04a6888824a05e2dcc851e17d3
109-
weak
110-
sha = a7ee6817a973be08fcf1889df7caf4720495c5cd
11191
[file ".github/workflows/release-notes.yml"]
11292
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-notes.yml
113-
etag = 5db902d761d80de182417cfbece00cbb6d1fa4b99a945b3a97c57f58f7043b5d
114-
weak
115-
sha = a922d0300a188bbd872bcf8ca48c6b7a13dee5df
116-
[file ".github/.github_changelog_generator"]
117-
url = https://github.com/devlooped/oss/blob/main/.github/.github_changelog_generator
118-
sha = b7ce2bedba3fe467b8bc252c372cd36bbde259a5
119-
etag = 28145d505ce95b57628ab368bb12744300d5f539d3651c346e3c0c3f772ffa7b
93+
etag = 420e07d6529a14d2007347a626a26246acee2f4301eb34cfa9b3ce55761f9f46
12094
weak
95+
sha = ee813ef00359fc14b7ee263a02d863407c179b10
12196
[file ".github/workflows/dotnet-file.yml"]
12297
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
12398
sha = b97b8f19569fa1b93cece4b22afab0e838693c5a
@@ -133,8 +108,14 @@
133108
skip
134109
[file ".github/workflows/pages.yml"]
135110
url = https://github.com/clarius/pages/blob/main/.github/workflows/pages.yml
111+
sha = d3b026ee6d3772debc989c4cec72156421336f94
112+
etag = 76f23752ceffc013040215aec5519e5069fec9cea1179828ef88d4e0652752f0
113+
weak
136114
[file "Gemfile"]
137115
url = https://github.com/clarius/pages/blob/main/Gemfile
116+
sha = 565a77f40db0863cb47ceb36f88790259a697c91
117+
etag = 24e482e91192e292b633e3c17c4f095286ffb5a041d299d761b2e6ef99ee7669
118+
weak
138119
[file ".github/workflows/includes.yml"]
139120
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
140121
sha = 5d05e541d7b028d64b044c5b9cc80afa19dc0de0
@@ -145,3 +126,13 @@
145126
sha = 74189b061850a3527676d76281de61044abc86a2
146127
etag = 10106929413a89658d22c36b5b934c598809e1deb8cdd994ec846f824195aac6
147128
weak
129+
[file ".github/workflows/changelog.config"]
130+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
131+
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
132+
etag = 28145d505ce95b57628ab368bb12744300d5f539d3651c346e3c0c3f772ffa7b
133+
weak
134+
[file ".github/workflows/sponsor.yml"]
135+
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
136+
sha = 8990ebb36199046e0b8098bad9e46dcef739c56e
137+
etag = e1dc114d2e8b57d50649989d32dbf0c9080ec77da3738a4cc79e9256d6ca5d3e
138+
weak

Gemfile

+1-1
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

-3
This file was deleted.

0 commit comments

Comments
 (0)