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 @@ -11,5 +11,5 @@ jobs:
permissions:
contents: write
pull-requests: write
uses: go-openapi/ci-workflows/.github/workflows/auto-merge.yml@e8e6599fe480362cb0d5cbdac5b245cc833742f5 # v0.2.15
uses: go-openapi/ci-workflows/.github/workflows/auto-merge.yml@af4c93f45481ea7d24ac2a9858272cc03daf424e # v0.4.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/bump-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
permissions:
contents: write
pull-requests: write
uses: go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml@e8e6599fe480362cb0d5cbdac5b245cc833742f5 # v0.2.15
uses: go-openapi/ci-workflows/.github/workflows/bump-release-monorepo.yml@af4c93f45481ea7d24ac2a9858272cc03daf424e # v0.4.0
with:
bump-type: ${{ inputs.bump-type }}
tag-message-title: ${{ inputs.tag-message-title }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
permissions:
contents: read
security-events: write
uses: go-openapi/ci-workflows/.github/workflows/codeql.yml@e8e6599fe480362cb0d5cbdac5b245cc833742f5 # v0.2.15
uses: go-openapi/ci-workflows/.github/workflows/codeql.yml@af4c93f45481ea7d24ac2a9858272cc03daf424e # v0.4.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
permissions:
pull-requests: write
contents: write
uses: go-openapi/ci-workflows/.github/workflows/contributors.yml@e8e6599fe480362cb0d5cbdac5b245cc833742f5 # v0.2.15
uses: go-openapi/ci-workflows/.github/workflows/contributors.yml@af4c93f45481ea7d24ac2a9858272cc03daf424e # v0.4.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
test:
uses: go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml@e8e6599fe480362cb0d5cbdac5b245cc833742f5 # v0.2.15
uses: go-openapi/ci-workflows/.github/workflows/go-test-monorepo.yml@af4c93f45481ea7d24ac2a9858272cc03daf424e # v0.4.0
with:
extra-flags: '-tags testcgo,testcolorized' # (1) this is to trigger extra tests in spew, (2) this is to enable integration test for colorized output
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/monitor-bot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
contents: write
pull-requests: write
statuses: read
uses: go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml@980b99d60c7d219dbc51f63a7e401c651586b680 # v0.3.3
uses: go-openapi/ci-workflows/.github/workflows/monitor-bot-pr.yml@af4c93f45481ea7d24ac2a9858272cc03daf424e # v0.4.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
permissions:
contents: read
security-events: write
uses: go-openapi/ci-workflows/.github/workflows/scanner.yml@e8e6599fe480362cb0d5cbdac5b245cc833742f5 # v0.2.15
uses: go-openapi/ci-workflows/.github/workflows/scanner.yml@af4c93f45481ea7d24ac2a9858272cc03daf424e # v0.4.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Create release
permissions:
contents: write
uses: go-openapi/ci-workflows/.github/workflows/release.yml@e8e6599fe480362cb0d5cbdac5b245cc833742f5 # v0.2.15
uses: go-openapi/ci-workflows/.github/workflows/release.yml@af4c93f45481ea7d24ac2a9858272cc03daf424e # v0.4.0
with:
tag: ${{ github.ref_name }}
is-monorepo: true
Expand Down
62 changes: 62 additions & 0 deletions .github/workflows/webhook-announcements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Webhook Announcements

# invoke the common webhook-announcements workflow, scanning README.
#
# Two modes:
#
# * push (fixture changed): runs in dry-run mode (payloads printed, never
# posted) so editing the fixture's "## Announcements" section exercises the
# real before..after detection without spamming any channel.
#
# * workflow_dispatch: a manual live test. Provide an arbitrary webhook URL and
# it POSTs for real. By default it diffs against the git empty tree, so every
# announcement currently in the fixture is posted — no need to craft a diff.
#
# NOTE: the webhook URL you type is a workflow_dispatch input and is therefore
# visible in the run's UI/logs. Use a throwaway test webhook (and/or rotate it
# afterwards), not the production go-openapi webhook.

permissions:
contents: read

on:
push:
branches:
- master
paths:
- 'README.md'

workflow_dispatch:
inputs:
webhook-url:
description: |
Webhook URL to POST to (e.g. a test Discord channel webhook).
Visible in run logs — use a throwaway webhook.
type: string
required: true
compare-base:
description: |
Git ref to diff the fixture against. The default empty-tree SHA posts
every announcement currently in the fixture.
type: string
default: ""
dry-run:
description: |
Print payloads instead of posting.
type: choice
options:
- 'false'
- 'true'
default: 'false'

jobs:
announce:
uses: go-openapi/ci-workflows/.github/workflows/webhook-announcements.yml@af4c93f45481ea7d24ac2a9858272cc03daf424e # v0.4.0
with:
scanned-markdown: README.md
# On push: normal before..after diff (empty
# compare-base). On dispatch: honor the provided inputs.
dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run || 'false' }}
compare-base: ${{ github.event_name == 'workflow_dispatch' && inputs.compare-base || '' }}
secrets:
webhook-url: ${{ inputs.webhook-url }}
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ moving forward, API changes will remain backward-compatible with v2.4.0.

Feedback, contributions and proposals are welcome.

* **2026-06-22** : preparing v2.6.0 (ETA within 2-3 days)
* go1.26 optional support
* `ErrorWithType[E error]` available with go1.26
* a few minor fixes (reflection-based assertion robustness) thanks to your awesome feedback.

* **2026-06-22** : roadmap to v2.7.0 (ETA Sept. 2026)
* minor version releases will slow down from monthly to quarterly. Next planned for September
* go1.27 optional support, with forward methods supporting generics.

> **Recent news**
>
> ✅ Preparing v2.5.0: new features: support for synctest, NoFileDescriptorLeak for macos,
Expand Down
Loading