Update Template CI #226
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: Update Template CI | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 1" | |
| repository_dispatch: | |
| types: [update_template] | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3.1.0 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| token: ${{ secrets.GH_PAT || github.token }} | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3.5.1 | |
| with: | |
| node-version: 16.18.0 | |
| - name: Update template | |
| run: npx update-template https://github.com/stethoscope-js/stethoscope | |
| - name: Commit new data | |
| uses: stefanzweifel/git-auto-commit-action@v4.15.4 | |
| with: | |
| commit_message: ":arrow_up: Update @stethoscope-js to latest" | |
| commit_user_name: Stethoscoper | |
| commit_user_email: stethoscope-js@anandchowdhary.com | |
| commit_author: Stethoscoper <stethoscope-js@anandchowdhary.com> |