Skip to content

Commit 73b9c1c

Browse files
author
deeleeramone
committed
ci(version-check): run only for PRs targeting main
1 parent f723b0d commit 73b9c1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/version-bump-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on:
44
pull_request:
55
branches:
66
- main
7-
workflow_dispatch:
87

98
permissions:
109
contents: read
1110

1211
jobs:
1312
version-bump-required:
1413
name: Version Bump Required
14+
if: github.event_name == 'pull_request' && github.base_ref == 'main'
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository

0 commit comments

Comments
 (0)