Skip to content
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
62054cd
[bfops/discord-post-on-merge]: WIP
bfops Feb 6, 2026
e3014ed
[bfops/discord-post-on-merge]: simplify
bfops Feb 6, 2026
3722020
[bfops/discord-post-on-merge]: test
bfops Feb 6, 2026
59daa34
[bfops/discord-post-on-merge]: break up
bfops Feb 6, 2026
3284ae5
[bfops/discord-post-on-merge]: reduce
bfops Feb 6, 2026
303b411
Discord test PR (#4227)
bfops Feb 6, 2026
0d3eb53
Bfops/discord test pr 2 (#4235)
bfops Feb 9, 2026
580e90e
Discord notification test PR (#4236)
bfops Feb 9, 2026
d4cc1f4
Discord notification test PR (#4237)
bfops Feb 9, 2026
5bb498f
Discord notification test PR (#4238)
bfops Feb 9, 2026
11d768a
Discord notification test PR (#4239)
bfops Feb 9, 2026
51e9c91
Discord notification test PR (#4240)
bfops Feb 9, 2026
7595a75
[bfops/discord-post-on-merge]: empty
bfops Feb 10, 2026
ca09d85
Merge remote-tracking branch 'origin/master' into bfops/discord-post-…
bfops Feb 10, 2026
bd9cd79
Merge branch 'master' into bfops/discord-post-on-merge
bfops Apr 22, 2026
8835d6d
Bfops/4224 test without private (#4865)
bfops Apr 22, 2026
e50567c
[bfops/discord-post-on-merge]: fix
bfops Apr 22, 2026
e99bbb4
[bfops/discord-post-on-merge]: Merge branch 'bfops/discord-post-on-me…
bfops Apr 22, 2026
3c949b3
[bfops/4224-test-without-private]: empty (#4866)
bfops Apr 22, 2026
348ea22
Bfops/4224 test with private (#4864)
bfops Apr 22, 2026
af45382
Bfops/4224 test with private (#4867)
bfops Apr 22, 2026
ea90464
Apply suggestion from @bfops
bfops Apr 22, 2026
9463edd
[bfops/discord-post-on-merge]: [bfops/4224-test-with-private]: fix co…
bfops Apr 22, 2026
a1a95e8
[bfops/discord-post-on-merge]: review
bfops Apr 22, 2026
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
23 changes: 23 additions & 0 deletions .github/workflows/discord-posts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y gh

# TODO: Perhaps we should merge this into the public-pr-merge.yml workflow, now that that exists.
- name: Send Discord notification
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
Expand Down Expand Up @@ -69,3 +70,25 @@ jobs:
# Use `jq` to construct the json data blob in the format required by the webhook.
data="$(jq --null-input --arg msg "$message" '.content=$msg')"
curl -X POST -H 'Content-Type: application/json' -d "$data" "${DISCORD_WEBHOOK_URL}"

invokePrivate:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true &&
github.event.pull_request.base.ref == 'master'
permissions:
contents: read
steps:
- name: Dispatch private merge workflow
uses: actions/github-script@v7
with:
github-token: ${{ secrets.SPACETIMEDB_PRIVATE_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'clockworklabs',
repo: 'SpacetimeDBPrivate',
workflow_id: 'public-pr-merge.yml',
ref: 'master',
inputs: {
public_pr_number: String(context.payload.pull_request.number),
}
});
Comment thread Fixed
Loading