Skip to content

Commit ce4b552

Browse files
committed
fix: restrict milestone assignment workflow to specific event types for issues and pull requests
1 parent c01bd4f commit ce4b552

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/milestone-manager.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ permissions:
1313
jobs:
1414
assign-to-milestone:
1515
if: >
16-
github.event.label.name == 'GSSoC 2026' ||
17-
github.event.label.name == 'gssoc:approved'
16+
(github.event_name == 'issues' && github.event.label.name == 'GSSoC 2026') ||
17+
(github.event_name == 'pull_request_target' && github.event.label.name == 'gssoc:approved')
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Assign to GSSoC 2026 Milestone

0 commit comments

Comments
 (0)