Generate #1436
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: "Generate" | |
| on: | |
| schedule: | |
| - cron: "0 16 * * *" | |
| workflow_dispatch: | |
| env: | |
| username: ccamel | |
| jobs: | |
| generate-readme: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| with: | |
| token: ${{ github.token }} | |
| - name: Import GPG key | |
| uses: crazy-max/ghaction-import-gpg@v6 | |
| with: | |
| gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
| passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
| git_config_global: true | |
| git_user_signingkey: true | |
| git_commit_gpgsign: true | |
| - name: Generate awesome README.md file | |
| uses: luob/create-my-awesome@v1 | |
| with: | |
| username: ${{ env.username }} | |
| description: |- | |
| > A collection of awesome things for me, myself and I. | |
| Automatically generated with 鉂わ笍 by [Create My Awesome](https://github.com/marketplace/actions/create-my-awesome). | |
| - name: Add & Commit changes | |
| uses: EndBug/add-and-commit@v9 | |
| with: | |
| message: "docs: add new repositories" | |
| author_name: ${{ env.username }} | |
| author_email: ${{ secrets.GPG_EMAIL }} | |
| committer_name: ${{ env.username }} | |
| committer_email: ${{ secrets.GPG_EMAIL }} | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} |