Skip to content

Commit 35e2d2d

Browse files
committed
auto assign project reusable workflow
1 parent c3b6257 commit 35e2d2d

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

.github/workflows/comment-on-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Comment on New Issue"
22

33
on:
44
issues:
5-
types: [opened, labeled]
5+
types: [opened]
66

77
workflow_dispatch:
88
inputs:

.github/workflows/format-issue-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Auto Format Issue Title"
22

33
on:
44
issues:
5-
types: [opened, labeled]
5+
types: [opened, edited]
66
permissions:
77
issues: write
88

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Assign Project
2+
run-name: Assign project under issue and pull requests
3+
4+
on:
5+
issues:
6+
types: [opened, labeled]
7+
pull_request:
8+
types: [opened, reopened]
9+
10+
permissions:
11+
issues: write
12+
13+
jobs:
14+
sync:
15+
uses: recursivezero/action-club/.github/workflows/auto-assign-project.yml@main
16+
with:
17+
project_number: 5 # That's it!
18+
secrets:
19+
PROJECT_PAT: ${{ secrets.PROJECT_PAT }}

.vscode/settings.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
"titleBar.activeBackground": "#c5ef98",
1717
"titleBar.activeForeground": "#15202b",
1818
"titleBar.inactiveBackground": "#c5ef9899",
19-
"titleBar.inactiveForeground": "#15202b99",
20-
"sideBar.border": "#def6c4",
21-
"tab.activeBorder": "#def6c4"
19+
"titleBar.inactiveForeground": "#15202b99"
2220
},
2321
"peacock.color": "#c5ef98"
2422
}

0 commit comments

Comments
 (0)