Skip to content

Commit 2bbe77d

Browse files
committed
fix: simplify push event configuration in GitHub Label Sync workflow
1 parent 5c8c3e6 commit 2bbe77d

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/labels.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ on:
2020
push:
2121
branches:
2222
- main
23-
paths:
24-
- .github
2523
permissions:
2624
contents: write
2725
jobs:

crates/forge_ci/src/jobs/labels.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ pub fn create_labels_workflow() -> Workflow {
55
let mut labels_workflow = Workflow::default()
66
.name("Github Label Sync")
77
.on(Event {
8-
push: Some(Push {
9-
branches: vec!["main".to_string()],
10-
paths: vec![".github".to_string()],
11-
..Push::default()
12-
}),
8+
push: Some(Push { branches: vec!["main".to_string()], ..Push::default() }),
139
..Event::default()
1410
})
1511
.permissions(Permissions::default().contents(Level::Write));

0 commit comments

Comments
 (0)