Skip to content

Commit

Permalink
Merge pull request #23507 from storybookjs/enable-canary-releases
Browse files Browse the repository at this point in the history
Release tooling: Initial empty canary release workflow
  • Loading branch information
JReinhold committed Jul 19, 2023
2 parents 10e38b5 + 39c72fa commit c8e9caf
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 88 deletions.
88 changes: 0 additions & 88 deletions .github/workflows/canary-release-pr.WIP

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/canary-release-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish canary release of PR
run-name: 'Canary release: PR #${{ inputs.pr }}, triggered by ${{ github.triggering_actor }}'

on:
workflow_dispatch:
inputs:
pr:
description: 'Which pull request number to create a canary release for'
required: true
type: number

env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1

concurrency:
group: ${{ github.workflow }}-${{ inputs.pr }}
cancel-in-progress: true

permissions:
pull-requests: write

jobs:
release-canary:
name: Release canary version
runs-on: ubuntu-latest
environment: release
defaults:
run:
working-directory: scripts
steps:
- name: Do nothing
run: echo "I'm not doing anything"

0 comments on commit c8e9caf

Please sign in to comment.