Skip to content

fix: package.json & package-lock.json to reduce vulnerabilities #1442

fix: package.json & package-lock.json to reduce vulnerabilities

fix: package.json & package-lock.json to reduce vulnerabilities #1442

Workflow file for this run

name: 🤖 Auto Prettier ✨
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
run:
name: Prettier if needed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: lts/*
- run: npm ci --no-scripts
- name: check if workflows needs prettier
run: npx prettier --ignore-path .gitignore --check ".github/workflows/**/*.yml" || (echo "An action can't make changes to actions, you'll have to run prettier manually" && exit 1)
- run: npx prettier --ignore-path .gitignore --write .
- uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9
with:
message: 'chore(prettier): 🤖 ✨'