Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/self-release-please.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Self Release Please

# This repo publishes release-please.yaml for other repos to call, but nothing was
# calling it here, so its own releases were never cut. Consume the local copy rather
# than a pinned masterpointio/actions ref, which would need bumping on every release.

on:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
release-please:
# actionlint 1.7.12 predates GitHub's self-repository syntax and only
# recognizes the owner/repo@ref and ./ forms.
# trunk-ignore(actionlint/workflow-call)
uses: $/.github/workflows/release-please.yaml
with:
release-type: simple
secrets:
MP_BOT_APP_ID: ${{ secrets.MP_BOT_APP_ID }}
MP_BOT_APP_PRIVATE_KEY: ${{ secrets.MP_BOT_APP_PRIVATE_KEY }}
permissions:
contents: write # needed by release-please-action
pull-requests: write # needed by release-please-action
issues: write # needed by release-please-action