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
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ jobs:
# Everything that runs on push and therefore would NOT fire after a
# merge made with the default GITHUB_TOKEN. Keep this in sync when a
# push-triggered workflow is added.
REARM_WORKFLOWS: ci.yml
REARM_WORKFLOWS: ci.yml,publish.yml
run: bash scripts/ci/auto-merge-sweep.sh
11 changes: 11 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ on:
push:
branches: [main]
tags: ['v*']
# The reconciler, and the reason this is reliable. A merge made by auto-merge
# uses GITHUB_TOKEN, and a push with that token starts no workflow — so the
# push trigger above silently does not fire for exactly the merges that matter.
# auto-merge.yml re-arms a hand-maintained list of workflows, which is one more
# thing to keep in sync (it was already wrong once: publish.yml was missing).
#
# So the schedule asks the registry the same idempotent question on a timer:
# is package.json's version published? If a release was missed by any means,
# it goes out within the hour without anyone noticing it was missed.
schedule:
- cron: '17 * * * *'
workflow_dispatch:

jobs:
Expand Down
Loading