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: 2 additions & 0 deletions .github/workflows/require-changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Require Either a Changeset or a Label 'no changeset needed'
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
branches:
- main

jobs:
require-changeset-or-label:
Expand Down
44 changes: 0 additions & 44 deletions .github/workflows/snapshot-pr.yaml

This file was deleted.

11 changes: 6 additions & 5 deletions .github/workflows/snapshot-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@ name: Snapshot Release

on:
pull_request:
types: [closed]
branches:
- snapshot
types: [labeled]

jobs:
release-snapshot:
if: github.event.pull_request.merged == true
if: github.event.label.name == 'snapshot'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -41,13 +40,15 @@ jobs:
jq ".dependencies[\"@redocly/respect-core\"] = \"$VERSION\"" packages/cli/package.json > tmp.json && mv tmp.json packages/cli/package.json

# Add comment with installation instructions
COMMENT="📦 A new experimental version **v$VERSION** of Redocly CLI has been published for testing.
COMMENT="📦 A new experimental 🧪 version **v$VERSION** of Redocly CLI has been published for testing.

Install with NPM:
\`\`\`bash
npm install @redocly/cli@$VERSION
# or
npm install @redocly/openapi-core@$VERSION
# or
npm install @redocly/respect-core@$VERSION
\`\`\`

⚠️ Note: This is a development build and may contain unstable features."
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading