Skip to content

Commit

Permalink
ci: Support PR trigger on CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 2, 2024
1 parent d0f4b2c commit 24941d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cd_release_please.yml
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@ name: "CD: Release and Publish"

on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
push:
# Run on changes and let release-please create
# PRs for version bumps and new releases
@@ -45,7 +47,7 @@ jobs:
uses: lekman/release-please-dotnet@v1
with:
manifest: ".release-please-manifest.json"
branch: ${{ github.head_ref }}
branch: ${{ github.event.pull_request.head.ref || github.ref_name }}

publish:
name: Publish

0 comments on commit 24941d1

Please sign in to comment.