Skip to content

Update Template CI #201

Update Template CI

Update Template CI #201

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>