Package lock maintenance #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package lock maintenance | |
on: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
permissions: | |
contents: write # for peter-evans/create-pull-request to create branch | |
pull-requests: write # for peter-evans/create-pull-request to create a PR | |
name: Bump transitional dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
cache: 'npm' | |
- name: Create commit | |
run: | | |
rm package-lock.json | |
npm install | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: 'Bump transitional dependencies' | |
committer: 'Github Actions <41898282+github-actions[bot]@users.noreply.github.com>' | |
author: 'Github Actions <41898282+github-actions[bot]@users.noreply.github.com>' | |
title: 'Bump transitional dependencies' | |
body: Transitional dependencies bump. | |
labels: 'dependencies' |