Skip to content

chore(deps-dev): bump lint-staged from 17.2.0 to 17.3.0 (#230) #114

chore(deps-dev): bump lint-staged from 17.2.0 to 17.3.0 (#230)

chore(deps-dev): bump lint-staged from 17.2.0 to 17.3.0 (#230) #114

name: Release Please
# Maintains a single draft "Release PR" off main. As conventional-commit changes
# land, release-please bumps package.json/package-lock.json, regenerates
# CHANGELOG.md, and updates .release-please-manifest.json on that PR. The PR opens
# as a draft and is NOT auto-merged — the open PR is the manual review/editing
# window. Marking it ready and merging creates the GitHub Release and the vX.Y.Z
# tag, which triggers npm-publish.yml and build-docker-image.yml (both listen on
# v* tags).
on:
push:
branches: [main]
# Prevent concurrent release-please runs from racing: a burst of pushes to main
# would otherwise run in parallel, and the last force-push to the release branch
# wins — which can be a run that read a stale tree, reverting whatever the newer
# run already wrote to the release PR (e.g. dependency bumps). cancel-in-progress
# cancels older in-flight runs, keeping only the newest (latest main) run.
concurrency:
group: release-please-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
pull-requests: write
jobs:
release-please:
if: github.repository == 'browserless/browserless-mcp'
runs-on: ubuntu-latest
steps:
# App token (not GITHUB_TOKEN) so the tag/Release it creates can trigger
# the downstream npm-publish and docker-build workflows.
- uses: actions/create-github-app-token@v3
id: app-token
with:
app-id: ${{ vars.BROWSERLESS_ACTIONS_APP_ID }}
private-key: ${{ secrets.BROWSERLESS_ACTIONS_APP_PRIVATE_KEY }}
- uses: googleapis/release-please-action@v5
id: release
with:
token: ${{ steps.app-token.outputs.token }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json