ci(update-inputs): create initial version (#229)
Resolves #220. Updates action.yml inputs after an update to the octokit/openapi dependency.
This commit is contained in:
26
.github/workflows/update-inputs.yml
vendored
Normal file
26
.github/workflows/update-inputs.yml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user