Skip to content

Commit

Permalink
Merge pull request #187 from castore-dev/automatically-synchronize-re…
Browse files Browse the repository at this point in the history
…adme

docs: automatically synchronize readme sponsors
  • Loading branch information
ThomasAribart committed Sep 2, 2024
2 parents ec117c5 + 07f45ff commit 125652b
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 4 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/sync-readme-sponsors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 💖 Sync README sponsors

on:
workflow_dispatch:
schedule:
- cron: 00 12 1,15 * *

permissions:
contents: write

jobs:
sync-readme-sponsors:
name: 💖 Sync README sponsors
runs-on: ubuntu-latest
steps:
- name: ♻️ Checkout
uses: actions/checkout@v3
with:
ref: main

- name: 💖 Sync README sponsors
uses: JamesIves/[email protected]
with:
token: ${{ secrets.PAT }}
file: README.md
template: <a href="https://github.com/{{ login }}"><img src="https://github.com/{{ login }}.png" width="50px" alt="{{ name }}" title="{{ name }}"/></a>&nbsp;&nbsp;
active-only: false

- name: 💾 Commit README
uses: EndBug/[email protected]
with:
default_author: github_actions
message: 'Automatically synchronize README sponsors'
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
<br/>
</p>

💖 _Huge thanks to the [sponsors](https://github.com/sponsors/ThomasAribart) who help me maintain this repo:_

<p align="center">
<a href="https://www.theodo.fr/"><img src="https://github.com/theodo.png" width="50px" alt="Theodo" title="Theodo"/></a></td>&nbsp;&nbsp;
<!-- sponsors --><!-- sponsors -->
<a href="https://github.com/sponsors/ThomasAribart"><img src="assets/plus-sign.png" width="50px" alt="Plus sign" title="Your brand here!"/></a>
</p>

# Making Event Sourcing easy 😎

[Event Sourcing](https://learn.microsoft.com/en-us/azure/architecture/patterns/event-sourcing) is a data storage paradigm that saves **changes in your application state** rather than the state itself.
Expand Down
Binary file added assets/plus-sign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@
"docs"
],
"scripts": {
"build-all": "nx run-many --target=build --all --parallel=4",
"check-audit": "check-audit --yarn",
"graph": "nx dep-graph",
"info": "nx run-many --target=sls-info --all --parallel=4",
"lint-fix": "yarn linter-base-config --fix",
"linter-base-config": "eslint",
"package": "nx run-many --target=package --all --parallel=4",
"postinstall": "husky install && syncpack format",
"resolve-audit": "resolve-audit --yarn",
Expand Down

0 comments on commit 125652b

Please sign in to comment.