name: 'Update static data' on: schedule: - cron: '0 0 * * 0' # Every Sunday at midnight workflow_dispatch: env: NODE_VERSION: 24 permissions: {} jobs: update-data: runs-on: ubuntu-latest if: github.repository == 'renovatebot/renovate' permissions: contents: write pull-requests: write steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false show-progress: false - name: Setup pnpm uses: pnpm/setup@703c52620218391530e48b9e8870d5c0082e1b9b # v2.1.0 with: install: false runtime: node@${{ env.NODE_VERSION }} - name: Install dependencies run: pnpm install --frozen-lockfile - name: Install mise uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0 with: # don't run `mise install`, but do install a version of `mise` itself install: false - 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@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 with: author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' branch: 'chore/update-static-data' commit-message: 'feat(data): automatic update of static data' committer: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' title: 'feat(data): automatic update of static data' assignees: viceice,secustor,jamietanna