Skip to content

Commit

Permalink
⬆️ Bump files with dotnet-file sync
Browse files Browse the repository at this point in the history
# devlooped/oss

- Use a lighter down arrow, docs tag devlooped/oss@4bd76ee
- Bump to include action with fragment support devlooped/oss@c62cfb4
- Switch to new clean v1 devlooped/oss@e9b17b5
- Update to public bot defaults action devlooped/oss@b9671b9
- Add fallback GITHUB_TOKEN to bot defaults devlooped/oss@5406d90
- Resolve includes after file sync devlooped/oss@8f45cf2
- By default don't validate includes devlooped/oss@aed791a

# devlooped/.github

- Replace existing script with new reusable marketplace action devlooped/.github@4108ce6

# devlooped/sponsors

- Refresh sponsors devlooped/sponsors@671b000
- Include readme in sponsors change devlooped/sponsors@0b4c29f
- Refresh sponsors devlooped/sponsors@4722856
  • Loading branch information
devlooped-bot authored and kzu committed Aug 15, 2022
1 parent 21d7a98 commit e0ff61f
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 219 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
name: changelog
on:
workflow_dispatch:
release:
types: [released]
workflow_dispatch:

jobs:
changelog:
runs-on: ubuntu-latest
steps:
- name: 🤖 defaults
uses: devlooped/actions-bot@v1
with:
name: ${{ secrets.BOT_NAME }}
email: ${{ secrets.BOT_EMAIL }}
gh_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🤘 checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: main

- name: 🔍 defaults
uses: ./.github/workflows/defaults
env:
GH_TOKEN_SECRET: ${{ secrets.GH_TOKEN }}
BOT_NAME_SECRET: ${{ secrets.BOT_NAME }}
BOT_EMAIL_SECRET: ${{ secrets.BOT_EMAIL }}
BOT_AUTHOR_SECRET: ${{ secrets.BOT_AUTHOR }}
token: ${{ env.GH_TOKEN }}

- name: ⚙ ruby
uses: ruby/setup-ruby@v1
Expand All @@ -30,11 +31,9 @@ jobs:
- name: ⚙ changelog
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 $GH_TOKEN --o changelog.md --config-file .github/.github_changelog_generator
- name: 🚀 changelog
run: |
git config --local user.name $BOT_NAME
git config --local user.email $BOT_EMAIL
git add changelog.md
(git commit -m "🖉 Update changelog with ${GITHUB_REF#refs/*/}" && git push) || echo "Done"
(git commit -m "🖉 Update changelog with ${GITHUB_REF#refs/*/}" && git push) || echo "Done"
59 changes: 0 additions & 59 deletions .github/workflows/defaults/action.yml

This file was deleted.

24 changes: 15 additions & 9 deletions .github/workflows/dotnet-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,20 @@ jobs:
sync:
runs-on: windows-latest
steps:
- name: 🤖 defaults
uses: devlooped/actions-bot@v1
with:
name: ${{ secrets.BOT_NAME }}
email: ${{ secrets.BOT_EMAIL }}
gh_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🤘 checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: main

- name: 🔍 defaults
uses: ./.github/workflows/defaults
env:
GH_TOKEN_SECRET: ${{ secrets.GH_TOKEN }}
BOT_NAME_SECRET: ${{ secrets.BOT_NAME }}
BOT_EMAIL_SECRET: ${{ secrets.BOT_EMAIL }}
BOT_AUTHOR_SECRET: ${{ secrets.BOT_AUTHOR }}
token: ${{ env.GH_TOKEN }}

- name: ⌛ rate
shell: pwsh
Expand Down Expand Up @@ -62,6 +63,11 @@ jobs:
echo 'No changelog was generated'
}
- name: +Mᐁ includes
uses: devlooped/actions-include@v1
with:
validate: false

- name: ✍ pull request
uses: peter-evans/create-pull-request@v3
with:
Expand All @@ -76,4 +82,4 @@ jobs:
${{ env.CHANGES }}
title: "⬆️ Bump files with dotnet-file sync"
body: ${{ env.CHANGES }}
token: ${{ env.GH_TOKEN }}
token: ${{ env.GH_TOKEN }}
34 changes: 18 additions & 16 deletions .github/workflows/includes.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: +M▼ includes
name: +Mᐁ includes
on:
workflow_dispatch:
push:
Expand All @@ -11,30 +11,32 @@ jobs:
includes:
runs-on: ubuntu-latest
steps:
- name: 🤖 defaults
uses: devlooped/actions-bot@v1
with:
name: ${{ secrets.BOT_NAME }}
email: ${{ secrets.BOT_EMAIL }}
gh_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: 🤘 checkout
uses: actions/checkout@v2
with:
token: ${{ env.GH_TOKEN }}

- name: 🔍 defaults
uses: ./.github/workflows/defaults
env:
GH_TOKEN_SECRET: ${{ secrets.GH_TOKEN }}
BOT_NAME_SECRET: ${{ secrets.BOT_NAME }}
BOT_EMAIL_SECRET: ${{ secrets.BOT_EMAIL }}
BOT_AUTHOR_SECRET: ${{ secrets.BOT_AUTHOR }}

- name: +M▼ includes
uses: devlooped/actions-include@v4
- name: +Mᐁ includes
uses: devlooped/actions-include@v1

- name: ✍ pull request
uses: peter-evans/create-pull-request@v3
with:
base: main
branch: markdown-includes
delete-branch: true
labels: dependencies
labels: docs
author: ${{ env.BOT_AUTHOR }}
committer: ${{ env.BOT_AUTHOR }}
commit-message: +M▼ includes
title: +M▼ includes
body: +M▼ includes
token: ${{ env.GH_TOKEN }}
commit-message: +Mᐁ includes
title: +Mᐁ includes
body: +Mᐁ includes
token: ${{ env.GH_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/sponsor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: sponsor ❤️
on:
issues:
types: [opened, edited, reopened]
pull_request:
types: [opened, edited, synchronize, reopened]

jobs:
sponsor:
runs-on: ubuntu-latest
steps:
- name: 🤘 checkout
uses: actions/checkout@v2

- name: ❤️ sponsor
uses: devlooped/actions-sponsor@main
with:
token: ${{ secrets.GH_TOKEN }}
59 changes: 0 additions & 59 deletions .github/workflows/sponsors.ps1

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/sponsors.yml

This file was deleted.

39 changes: 12 additions & 27 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
weak
[file ".github/workflows/changelog.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
sha = 15e94864c0806dd899b4b8f7bb4fc8b99a62111a
etag = 3a0f1fb7819245b4b35c918f86c177ffa48cbecd153c62be2e245c02ca993508
sha = 5406d907e0bf87dd1b4375f2ae2279dd775ed672
etag = 034c69fefe727b412a52e49964646131b899d6e7bb1576fe9d4a4db9208675ff
weak
[file ".github/workflows/dotnet-file.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
sha = d94ddb1384daf67602be0c4e02fad6c86b6c79b3
etag = a180d38577ce5f69caf05034d8332e99cb837fe8cfdfc0dee59cf9b6e4dbb61d
sha = aed791a3a35919e3088cd2bde604cbae6f47b393
etag = 0f7649805f5e84fba5104339bfd0c21ac4747b65186b16eab39f863e2db7a3e1
weak
[file ".github/workflows/publish.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
Expand Down Expand Up @@ -132,16 +132,6 @@
sha = e8f3774884afda36ac177c4193929d24d7901de9
etag = 42fdc888e07b492cccc6fd29972bd9ea6f13691a3fdf057e07f3f8eec9330b7a
weak
[file ".github/workflows/sponsors.ps1"]
url = https://github.com/devlooped/.github/blob/main/.github/workflows/sponsors.ps1
sha = 11f5c27cfdb304436ef0b7ee27ff333cda31ef65
etag = 57a303125f3367b68ad0700d89ff4ba57cb29b33b303903488c9c8638d0bf735
weak
[file ".github/workflows/sponsors.yml"]
url = https://github.com/devlooped/.github/blob/main/.github/workflows/sponsors.yml
sha = 8b6384e91fdfcf8f3cc9b3b262a9ca2a1095d06a
etag = 2c05a753600913f546c37a2ea9393b3ede3b6f8473e5c2d53462aa7342af7078
weak
[file "Gemfile"]
url = https://github.com/devlooped/.github/blob/main/Gemfile
sha = f2dc1370469bec1b2d32d82faf659b050cdc7e2a
Expand All @@ -164,21 +154,16 @@
weak
[file ".github/workflows/includes.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
sha = d94ddb1384daf67602be0c4e02fad6c86b6c79b3
etag = d390b05199c9812efa33c1f49c59e80a14cfcb46240f08eb8981b718d659f7c1
weak
[file "docs/footer.md"]
url = https://github.com/devlooped/oss/blob/main/docs/footer.md
sha = 06e7171fa1d1f49300278ebf11020b8d03ef44ac
etag = 2e47c8bba7ea60a722ce2bfc8a0222e27bc33f25073486523710383540dc6257
sha = 5406d907e0bf87dd1b4375f2ae2279dd775ed672
etag = 75f05e99fab00c735305d85ad2dc599aff6fd72d5b38536e8c80df8e73b43de2
weak
[file "docs/sponsors.md"]
url = https://github.com/devlooped/sponsors/blob/main/sponsors.md
sha = 0a67f1a43b12eabc5fe3229fd9c9239dd97fc645
etag = 39e8d18b010c445fb65046c8504c1a95d66d5b4c6aff2f859d030a98faf182de
sha = 4722856ec9385044e9a553aa6b85f2f3728098dc
etag = 32d12ff9caf2320f57c78120d69c95798c8aca6ef8b946bff7ad678c0c40a656
weak
[file ".github/workflows/defaults/action.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/defaults/action.yml
sha = 4253d8ae0f92625f475fabba36b67b2df7cb3806
etag = 2db4daaf02093f57836b6045053e72d846493935d5129b6b7ac3f5aea9dca4b4
[file ".github/workflows/sponsor.yml"]
url = https://github.com/devlooped/.github/blob/main/.github/workflows/sponsor.yml
sha = 4108ce6017b20ceb8d024f6675c1ea2573b317e0
etag = 7551f063d8b04d25dd100d7e5db792f840c5173ee74c4805b6a69b8b6bfe20b6
weak
8 changes: 0 additions & 8 deletions docs/footer.md

This file was deleted.

Loading

0 comments on commit e0ff61f

Please sign in to comment.