name: Run automated builds
on:
  schedule:
    - cron: '*/5 * * * *'
jobs:
  update-deps:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: '10.x'
      - name: Update constants
        id: vars
        run: |
          npm install
          npm run build
      - name: Run automated builds
        uses: peter-evans/create-pull-request@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          commit-message: update build
          title: Automated File Updates
          body: This is an auto-generated PR with file updates.
          branch: autobuild
          branch-suffix: none

name: Run automated builds
on:
  schedule:
    - cron: '0 * * * *'
jobs:
  update-deps:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: '10.x'
      - name: Update constants
        id: vars
        run: |
          npm install
          npm run build
      - name: Run automated builds
        uses: peter-evans/create-pull-request@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          commit-message: update build
          title: Automated File Updates
          body: This is an auto-generated PR with file updates.
          branch: autobuild
          branch-suffix: none

Change autoupdate interval to every 1 hour
Change autoupdate interval to every 1 hour