Skip to content

Update static data

Update static data #10

Workflow file for this run

name: 'Update static data'
on:
schedule:
- cron: '0 0 * * 0' # Every Sunday at midnight
workflow_dispatch:
env:
NODE_VERSION: 18
permissions:
contents: write
pull-requests: write
jobs:
update-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Enable corepack
shell: bash
run: corepack enable
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Update static data
run: pnpm run update-static-data
- name: Run Prettier
run: pnpm prettier-fix
- name: Create pull request
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
with:
author: 'Renovate Bot <[email protected]>'
branch: 'chore/update-static-data'
commit-message: 'fix(data): automatic update of static data'
committer: 'Renovate Bot <[email protected]>'
title: 'fix(data): automatic update of static data'
assignees: rarkins,viceice