Skip to content

Commit

Permalink
⬆️ Bump files with dotnet-file sync
Browse files Browse the repository at this point in the history
# 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
  • Loading branch information
devlooped-bot authored and kzu committed Nov 15, 2022
1 parent d37876c commit 74e49e8
Show file tree
Hide file tree
Showing 10 changed files with 64 additions and 93 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: ⚙ changelog
run: |
gem install github_changelog_generator
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/.github_changelog_generator
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/workflows/changelog.config
- name: 🚀 changelog
run: |
Expand Down
41 changes: 30 additions & 11 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
# Workflow to cross-post a jekyll site (or GitHub Pages)
# to another org/repo.
# Required secrets in repository consuming this workflow:
# - PAGES_ORGANIZATION: the target organization to publish
# pages to.
# - PAGES_ACCESS_TOKEN: a token that is valid in the target
# org/repo for pushing the resulting site
# - PAGES_REPOSITORY: optional repository name under the
# target organization. Defaults to source repo name.

name: pages
on:
workflow_dispatch:
push:
branches:
- main
- pages
- docs

env:
PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }}
Expand All @@ -13,7 +24,23 @@ env:
jobs:
gh-pages:
runs-on: ubuntu-latest
env:
PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }}
PAGES_REPOSITORY: ${{ secrets.PAGES_REPOSITORY }}
PAGES_ACCESS_TOKEN: ${{ secrets.PAGES_ACCESS_TOKEN }}
steps:
- name: ✅ organization
if: env.PAGES_ORGANIZATION == ''
run: |
echo "::error title=PAGES_ORGANIZATION secret is required."
exit 1
- name: ✅ token
if: env.PAGES_ACCESS_TOKEN == ''
run: |
echo "::error title=PAGES_ACCESS_TOKEN secret is required."
exit 1
- name: 🤘 checkout
uses: actions/checkout@v2

Expand All @@ -22,14 +49,6 @@ jobs:
sudo gem install bundler
bundle install
- name: 🖉 default env
env:
PAGES_ORGANIZATION: ${{ secrets.PAGES_ORGANIZATION }}
PAGES_REPOSITORY: ${{ secrets.PAGES_REPOSITORY }}
run: |
echo "PAGES_ORGANIZATION=${PAGES_ORGANIZATION}" >> $GITHUB_ENV
echo "PAGES_REPOSITORY=${PAGES_REPOSITORY}" >> $GITHUB_ENV
- name: 🖉 default repo
if: env.PAGES_REPOSITORY == ''
run: echo "PAGES_REPOSITORY=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
Expand All @@ -44,14 +63,14 @@ jobs:
cd _site
git init
git add -A
git config --local user.email "bot@devlooped.com"
git config --local user.name "bot@devlooped.com"
git config --local user.email "bot@clarius.org"
git config --local user.name "bot@clarius.org"
git commit -m "Publish pages from ${GITHUB_REPOSITORY}@${GITHUB_SHA:0:9}"
- name: 🚀 push
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.PAGES_ACCESS_TOKEN }}
github_token: ${{ env.PAGES_ACCESS_TOKEN }}
repository: ${{ env.PAGES_ORGANIZATION }}/${{ env.PAGES_REPOSITORY }}
branch: gh-pages
force: true
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/release-artifacts.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
if: env.SINCE_TAG != ''
run: |
gem install github_changelog_generator
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
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
- name: ⚙ changelog
if: env.SINCE_TAG == ''
run: |
gem install github_changelog_generator
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token ${{ secrets.GITHUB_TOKEN }} --o changelog.md --config-file .github/.github_changelog_generator
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token ${{ secrets.GITHUB_TOKEN }} --o changelog.md --config-file .github/workflows/changelog.config
- name: 🖉 release
shell: pwsh
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/sponsor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: sponsor ❤️
name: sponsor 💜
on:
issues:
types: [opened, edited, reopened]
Expand All @@ -8,12 +8,17 @@ on:
jobs:
sponsor:
runs-on: ubuntu-latest
continue-on-error: true
env:
token: ${{ secrets.GH_TOKEN }}
if: ${{ !endsWith(github.event.sender.login, '[bot]') && !endsWith(github.event.sender.login, 'bot') }}
steps:
- name: 🤘 checkout
if: env.token != ''
uses: actions/checkout@v2

- name: ❤️ sponsor
- name: 💜 sponsor
if: env.token != ''
uses: devlooped/actions-sponsor@main
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ env.token }}
53 changes: 22 additions & 31 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@
etag = 2c6335b37e4ae05eea7c01f5d0c9d82b49c488f868a8b5ba7bff7c6ff01f3994
weak
sha = 0683ee777d7d878d4bf013d7deea352685135a05
[file "security.md"]
url = https://github.com/devlooped/oss/blob/main/security.md
etag = fc8101fd914820db3e6b42d608dc46aefbc60c830ac721ed3917daead3727dbd
weak
sha = a0f58a6d63e48ae6e55944c556d0bc94476dc8df
[file "src/Directory.Build.props"]
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
etag = 89855774fe1c198b2af190cd90b5df27ffe9c2cb5e242182fc9e757a83b23274
Expand All @@ -62,9 +57,9 @@
sha = 0683ee777d7d878d4bf013d7deea352685135a05
[file ".netconfig"]
url = https://github.com/devlooped/oss/blob/main/.netconfig
etag = f21ad23790f07a741656ff4d53093aa0f73156d88cfb5112047e6547bae8d5f3
etag = 50445d8ade10a983734d0f5f46e1b5089bc8924051aebbf659c3f3e0755ee1e0
weak
sha = 0849d6a4e1f158642de157bf348bf424e006a665
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
[file "Directory.Build.rsp"]
url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp
etag = 6a6c6e1d3895df953abf14c82b0899e3eea75cdcd679f6212dcfea15183d73d6
Expand All @@ -83,41 +78,21 @@
etag = f710d8919abfd5a8d00050b74ba7d0bb05c6d02e40842a3012eb96555c208504
weak
sha = 9db26e2710b084d219d6355339d822f159bf5780
[file "assets/images/sponsors.png"]
url = https://github.com/devlooped/oss/blob/main/assets/images/sponsors.png
etag = f152d1038eb04cb1596a13377b032f18f2402c969130601384fb377ce5ddefbd
weak
sha = bf7b4569981b558b130bdd3ce93043d624a567d8
[file "assets/images/sponsors.svg"]
url = https://github.com/devlooped/oss/blob/main/assets/images/sponsors.svg
etag = d545e385f5b7db32d12a15905e0173246953cc0efdce0595a67cf9544e0a4fed
weak
sha = 491c6ee4ed880dc92012dee9b1c4e7d3e9d14115
[file ".github/workflows/changelog.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
etag = 034c69fefe727b412a52e49964646131b899d6e7bb1576fe9d4a4db9208675ff
etag = 54c0b571648b1055beb3ddac180b34e93a9869b9f0277de306901b2c1dbe0b2c
weak
sha = 5406d907e0bf87dd1b4375f2ae2279dd775ed672
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
[file ".github/workflows/publish.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
etag = 1d6a05b7f684b4fc1bb387750b0e100406e8a0017981c4e9d39a012479f35266
weak
sha = 0e5a33cc685fa85e3a81b797202f3e14e1cd84a9
[file ".github/workflows/release-artifacts.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-artifacts.yml
etag = 95690a8497d50db8a9116a193ba690ef64afdc04a6888824a05e2dcc851e17d3
weak
sha = a7ee6817a973be08fcf1889df7caf4720495c5cd
[file ".github/workflows/release-notes.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-notes.yml
etag = 5db902d761d80de182417cfbece00cbb6d1fa4b99a945b3a97c57f58f7043b5d
weak
sha = a922d0300a188bbd872bcf8ca48c6b7a13dee5df
[file ".github/.github_changelog_generator"]
url = https://github.com/devlooped/oss/blob/main/.github/.github_changelog_generator
sha = b7ce2bedba3fe467b8bc252c372cd36bbde259a5
etag = 28145d505ce95b57628ab368bb12744300d5f539d3651c346e3c0c3f772ffa7b
etag = 420e07d6529a14d2007347a626a26246acee2f4301eb34cfa9b3ce55761f9f46
weak
sha = ee813ef00359fc14b7ee263a02d863407c179b10
[file ".github/workflows/dotnet-file.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
sha = b97b8f19569fa1b93cece4b22afab0e838693c5a
Expand All @@ -133,8 +108,14 @@
skip
[file ".github/workflows/pages.yml"]
url = https://github.com/clarius/pages/blob/main/.github/workflows/pages.yml
sha = d3b026ee6d3772debc989c4cec72156421336f94
etag = 76f23752ceffc013040215aec5519e5069fec9cea1179828ef88d4e0652752f0
weak
[file "Gemfile"]
url = https://github.com/clarius/pages/blob/main/Gemfile
sha = 565a77f40db0863cb47ceb36f88790259a697c91
etag = 24e482e91192e292b633e3c17c4f095286ffb5a041d299d761b2e6ef99ee7669
weak
[file ".github/workflows/includes.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
sha = 5d05e541d7b028d64b044c5b9cc80afa19dc0de0
Expand All @@ -145,3 +126,13 @@
sha = 74189b061850a3527676d76281de61044abc86a2
etag = 10106929413a89658d22c36b5b934c598809e1deb8cdd994ec846f824195aac6
weak
[file ".github/workflows/changelog.config"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
etag = 28145d505ce95b57628ab368bb12744300d5f539d3651c346e3c0c3f772ffa7b
weak
[file ".github/workflows/sponsor.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
sha = 8990ebb36199046e0b8098bad9e46dcef739c56e
etag = e1dc114d2e8b57d50649989d32dbf0c9080ec77da3738a4cc79e9256d6ca5d3e
weak
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source 'https://rubygems.org'

gem 'github-pages', '~> 209', group: :jekyll_plugins
gem 'github-pages', '~> 209', group: :jekyll_plugins
Binary file removed assets/images/sponsors.png
Binary file not shown.
3 changes: 0 additions & 3 deletions assets/images/sponsors.svg

This file was deleted.

0 comments on commit 74e49e8

Please sign in to comment.