-
-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (27 loc) · 785 Bytes
/
Copy pathrelease.yml
File metadata and controls
31 lines (27 loc) · 785 Bytes
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
name: Release
on:
push:
branches: [main]
workflow_dispatch:
inputs:
dry_run:
description: 'Dry run (no tag, no release)'
type: boolean
default: false
# Read at the top, write only on the job that tags and publishes. A workflow
# with one job today can grow a second, and the second should not inherit the
# right to move tags because the first needed it.
permissions:
contents: read
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
jobs:
release:
permissions:
contents: write
id-token: write
uses: FerrLabs/.github/.github/workflows/reusable-ferrflow-release.yml@006179d85612bca62c683001b983a3bfa98ca507 # main
with:
dry-run: ${{ inputs.dry_run || false }}
secrets: inherit