mirror of https://github.com/renovatebot/renovate
53 lines
1.5 KiB
YAML
53 lines
1.5 KiB
YAML
name: 'Update static data'
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * 0' # Every Sunday at midnight
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
NODE_VERSION: 20
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
update-data:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
|
with:
|
|
show-progress: false
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
|
|
with:
|
|
standalone: true
|
|
|
|
- name: Set up Node.js ${{ env.NODE_VERSION }}
|
|
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
|
|
with:
|
|
node-version: ${{ env.NODE_VERSION }}
|
|
cache: pnpm
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- 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@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
|
|
with:
|
|
author: 'Renovate Bot <renovate@whitesourcesoftware.com>'
|
|
branch: 'chore/update-static-data'
|
|
commit-message: 'fix(data): automatic update of static data'
|
|
committer: 'Renovate Bot <renovate@whitesourcesoftware.com>'
|
|
title: 'fix(data): automatic update of static data'
|
|
assignees: rarkins,viceice
|