Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump files with dotnet-file sync #258

Merged
merged 1 commit into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,10 @@ csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true

# Test settings
[**/*Tests*/*{.cs,.vb}]
# xUnit1013: Public method should be marked as test. Allows using records as test classes
dotnet_diagnostic.xUnit1013.severity = none

# VSTHRD200: Use "Async" suffix for async methods
dotnet_diagnostic.VSTHRD200.severity = none
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/github-push-action@v0.6.0
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
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 }}
51 changes: 21 additions & 30 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
skip
[file ".editorconfig"]
url = https://github.com/devlooped/oss/blob/main/.editorconfig
etag = 4e857df48d0abd81512350d6b3b1a1c83b78284be65bd5172a4ec8e52cd04e2d
etag = 897634b9ba05c00e8ef35b24533d31bc43a5299be5a64e240109ba4c00fcad15
weak
sha = 369cd2bd49ce032f616a2fcb4c997535dbe8d9aa
sha = 448cf45a26e068fe5d7164ea48d1dc8bf620df46
[file ".gitattributes"]
url = https://github.com/devlooped/oss/blob/main/.gitattributes
etag = 7acb32f5fa6d4ccd9c824605a7c2b8538497f0068c165567807d393dcf4d6bb7
Expand Down Expand Up @@ -52,9 +52,9 @@
sha = 0683ee777d7d878d4bf013d7deea352685135a05
[file "src/Directory.Build.props"]
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
etag = 819e24ed16c1257f3c6ea3c728e1507020bacf32aeb63f5dd56f9a5cb2652275
etag = 89855774fe1c198b2af190cd90b5df27ffe9c2cb5e242182fc9e757a83b23274
weak
sha = 2fea462dc563923800a7efad24a52aa0541a8864
sha = c6f74cea5d6277e750d70886496aa1c84563bb46
[file "src/Directory.Build.targets"]
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
etag = 852b16129d2c681ad6ec86ff56b256541e0ce0961eb3a9492e0ead89ffe5a6bd
Expand All @@ -65,30 +65,15 @@
etag = b8d789b5b6bea017cdcc8badcea888ad78de3e34298efca922054e9fb0e7b6b9
weak
sha = 0683ee777d7d878d4bf013d7deea352685135a05
[file ".github/ISSUE_TEMPLATE/config.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/ISSUE_TEMPLATE/config.yml
etag = b5ce64e6967276086eb89f86f57364da9c4deac988c7e0e04810a4f8caaa1400
weak
sha = 6f1ed274e1e168da487affb88d69774fc2f926c3
[file "assets/css/style.scss"]
url = https://github.com/devlooped/oss/blob/main/assets/css/style.scss
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
sha = 5406d907e0bf87dd1b4375f2ae2279dd775ed672
etag = 034c69fefe727b412a52e49964646131b899d6e7bb1576fe9d4a4db9208675ff
sha = a4b66eb5f4dfb9704502f19f59ba33cb4855188c
etag = 54c0b571648b1055beb3ddac180b34e93a9869b9f0277de306901b2c1dbe0b2c
weak
[file ".github/workflows/dotnet-file.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
Expand All @@ -100,17 +85,18 @@
skip
[file ".github/workflows/release-notes.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-notes.yml
sha = a922d0300a188bbd872bcf8ca48c6b7a13dee5df
etag = 5db902d761d80de182417cfbece00cbb6d1fa4b99a945b3a97c57f58f7043b5d
sha = ee813ef00359fc14b7ee263a02d863407c179b10
etag = 420e07d6529a14d2007347a626a26246acee2f4301eb34cfa9b3ce55761f9f46
weak
[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
[file ".github/.github_changelog_generator"]
url = https://github.com/devlooped/oss/blob/main/.github/.github_changelog_generator
sha = b7ce2bedba3fe467b8bc252c372cd36bbde259a5
etag = 28145d505ce95b57628ab368bb12744300d5f539d3651c346e3c0c3f772ffa7b
sha = 565a77f40db0863cb47ceb36f88790259a697c91
etag = 24e482e91192e292b633e3c17c4f095286ffb5a041d299d761b2e6ef99ee7669
weak
[file ".github/workflows/test/action.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/test/action.yml
Expand All @@ -124,12 +110,17 @@
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
skip
[file ".github/workflows/sponsor.yml"]
url = https://github.com/devlooped/.github/blob/main/.github/workflows/sponsor.yml
sha = e347e5c7b91aaeb11eff95037c2c0b54206cc976
etag = 06319ff741c03cf4cd5113926d490ec09999a85b5a0e0480ce44222db026341a
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
sha = 8990ebb36199046e0b8098bad9e46dcef739c56e
etag = e1dc114d2e8b57d50649989d32dbf0c9080ec77da3738a4cc79e9256d6ca5d3e
weak
[file ".github/workflows/combine-prs.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/combine-prs.yml
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
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.

1 change: 0 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

<!-- Use Directory.Packages.props if possible. NOTE: other MSBuild SDKs (i.e. NoTargets/Traversal) do not support central packages -->
<ManagePackageVersionsCentrally Condition="Exists('$(MSBuildThisFileDirectory)Directory.Packages.props') AND ('$(MSBuildProjectExtension)' == '.csproj' OR '$(MSBuildProjectExtension)' == '.vbproj')">true</ManagePackageVersionsCentrally>
<RestoreSources>https://api.nuget.org/v3/index.json;https://pkg.kzu.io/index.json;$(RestoreSources)</RestoreSources>

<!-- Ensure MSBuild tooling can access package artifacts always via PKG_[PackageId] -->
<GeneratePathProperty>true</GeneratePathProperty>
Expand Down