-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 1.11 KB
/
Copy pathcascade.yml
File metadata and controls
36 lines (32 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: cascade
# Auto-generated cascade shim. Delegates the bump-build-tag dance to
# pilot-protocol/release. Adding a workflow_dispatch trigger lets us
# exercise the cascade manually before the GitHub App is set up.
on:
repository_dispatch:
types: [bump-upstream]
workflow_dispatch:
inputs:
upstream:
description: 'Upstream Go module (e.g. github.com/pilot-protocol/common)'
required: true
type: string
version:
description: 'Upstream version (e.g. v0.4.0 or v0.5.0-beta.1)'
required: true
type: string
is_prerelease:
description: 'true if upstream is a beta/rc'
required: false
type: boolean
default: false
permissions:
contents: write
jobs:
bump:
uses: pilot-protocol/release/.github/workflows/tag-bump.yml@main
with:
upstream: ${{ inputs.upstream || github.event.client_payload.upstream }}
version: ${{ inputs.version || github.event.client_payload.version }}
is_prerelease: ${{ inputs.is_prerelease == true || github.event.client_payload.is_prerelease == true }}
stable_only: true