diff --git a/.github/workflows/update-inputs.yml b/.github/workflows/update-inputs.yml new file mode 100644 index 0000000..ef2b2b7 --- /dev/null +++ b/.github/workflows/update-inputs.yml @@ -0,0 +1,26 @@ +name: Update Inputs + +on: + pull_request: + paths: + - 'package.json' + - 'package-lock.json' + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + update-inputs: + name: Update Inputs + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: .node-version + cache: 'npm' + - run: npm ci + - run: node scripts/update-inputs.js + - uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0