Skip to content

fix: Fix React Server Components CVE vulnerabilities (#168) #127

fix: Fix React Server Components CVE vulnerabilities (#168)

fix: Fix React Server Components CVE vulnerabilities (#168) #127

Workflow file for this run

name: Prettier
on:
push:
branches: [main, feat/ci-renovate-prettier]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
run:
name: Can the code be prettier? 🤔
runs-on: ubuntu-latest
# workflow_dispatch always lets you select the branch ref, even though in this case we only ever want to run the action on `main` this we need an if check
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
cache: npm
node-version: lts/*
- run: npm install
- run: npm run format
- uses: actions/create-github-app-token@v2
id: generate-token
with:
app-id: ${{ secrets.ECOSPARK_APP_ID }}
private-key: ${{ secrets.ECOSPARK_APP_PRIVATE_KEY }}
- uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7
with:
body: I ran `pnpm format` 🧑‍💻
branch: actions/prettier
commit-message: "chore(prettier): 🤖 ✨"
labels: 🤖 bot
sign-commits: true
title: "chore(prettier): 🤖 ✨"
token: ${{ steps.generate-token.outputs.token }}