Skip to content

chore: release main #917

chore: release main

chore: release main #917

---
name: Workaround release-please not updating pnpm-lock.yaml
on:
pull_request:
types: [opened, reopened, synchronize]
branches: ["main"]
paths-ignore:
- "pnpm-lock.yaml"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read # for checkout
jobs:
release-please-workaround:
if: startsWith(github.head_ref, 'release-please--')
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: generate-token
with:
app-id: ${{ secrets.ECOSCRIPT_APP_ID }}
private-key: ${{ secrets.ECOSCRIPT_APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
token: ${{ steps.generate-token.outputs.token }}
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: lts/*
- run: pnpm install --lockfile-only
- uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9
with:
default_author: github_actions
message: "chore(pnpm): update lockfile"