name: "Update known checksums" on: workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: "20" - name: Update known checksums id: update-known-checksums run: node dist/update-known-checksums/index.js src/download/checksum/known-checksums.ts ${{ secrets.GITHUB_TOKEN }} - run: npm install && npm run all - name: Create Pull Request uses: peter-evans/create-pull-request@d121e62763d8cc35b5fb1710e887d6e69a52d3a4 # v7.0.2 with: commit-message: "chore: update known checksums" title: "chore: update known checksums for ${{ steps.update-known-checksums.outputs.latest-version }}" body: "chore: update known checksums for ${{ steps.update-known-checksums.outputs.latest-version }}" base: main labels: "automated-pr,update-known-checksums" branch: update-known-checksums-pr delete-branch: true