Skip to content

Commit 2341fbf

Browse files
committed
fix(ci): only create downstream PR for stable releases
Skip PR creation to automagik-dev/forge for RC and nightly releases to avoid spamming the downstream repo with pre-release updates.
1 parent 29f0c96 commit 2341fbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ jobs:
174174
done
175175
echo "⚠️ Could not verify, but publish likely succeeded"
176176
177-
# Create PR in automagik-dev/forge to update dependency
177+
# Create PR in automagik-dev/forge to update dependency (stable releases only)
178178
downstream-pr:
179179
needs: [version, publish]
180-
if: needs.publish.result == 'success'
180+
if: needs.publish.result == 'success' && !contains(needs.version.outputs.version, '-rc.') && !contains(needs.version.outputs.version, '-nightly.')
181181
runs-on: [self-hosted, Linux, X64, fast-build]
182182
steps:
183183
- name: Checkout forge repo

0 commit comments

Comments
 (0)