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
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ permissions:
pull-requests: write
id-token: write
packages: write
actions: write

jobs:
release:
Expand Down Expand Up @@ -171,3 +172,15 @@ jobs:
- name: Return to release commit
if: always() && steps.release.outputs.released == 'true'
run: git checkout ${{ github.sha }}

# A dispatched Release (grammars-repin merges with GITHUB_TOKEN, then
# dispatches this workflow) does not fire `workflow_run` for the image
# workflows: GitHub suppresses events caused by GITHUB_TOKEN. Dispatch them
# explicitly once the gate has passed so `latest` still tracks main.
- name: Publish main images for a dispatched release
if: success() && github.event_name == 'workflow_dispatch'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh workflow run main-image.yml --ref main
gh workflow run embed-image.yml --ref main
Loading