👷 Add GitHub Actions workflow for note creation #19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Readme CI | |
| on: | |
| push: | |
| branches: [main] | |
| repository_dispatch: | |
| types: [readme] | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| name: Update README | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Update notes summary | |
| uses: AnandChowdhary/notes-summary@master | |
| with: | |
| token: "${{ secrets.GH_PAT }}" | |
| directory: "notes" |