Skip to content
Merged
Show file tree
Hide file tree
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
15 changes: 15 additions & 0 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
run-name: "Release ${{ inputs.version }} requested by @${{ github.actor }}"
name: Prepare release PR
on:
workflow_dispatch:
Expand Down Expand Up @@ -46,3 +47,17 @@ jobs:
PR_URL: ${{ steps.pr.outputs.url }}
run: |
echo "$PR_URL" >> "$GITHUB_STEP_SUMMARY"

notify-approval:
name: Notify release approval
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 12
permissions:
actions: read
pull-requests: read
contents: read
steps:
- uses: marimo-team/internal-gh-actions/release-approval-notification@962bf922f5b45dba9a650de62f825c24f3e99f87
with:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_RELEASES }}
15 changes: 15 additions & 0 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,18 @@ jobs:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
manifest: package.json

notify-approval:
name: Notify release approval
if: >-
github.event.pull_request.merged == true && github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.event.pull_request.head.ref, 'release/') && startsWith(github.event.pull_request.title, 'release: ')
runs-on: ubuntu-latest
timeout-minutes: 12
permissions:
actions: read
pull-requests: read
contents: read
steps:
- uses: marimo-team/internal-gh-actions/release-approval-notification@962bf922f5b45dba9a650de62f825c24f3e99f87
with:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_RELEASES }}
Loading