Skip to content

Commit 6c88d29

Browse files
ci: user-projects w/ ccbr-bot auth
1 parent df3c8a0 commit 6c88d29

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Add to personal projects
1+
name: user-projects
22

33
on:
44
issues:
@@ -7,10 +7,17 @@ on:
77
pull_request:
88
types:
99
- assigned
10+
1011
permissions:
11-
issues: read
12-
pull-requests: read
12+
issues: write
13+
pull-requests: write
14+
1315
jobs:
1416
add-to-project:
15-
uses: CCBR/.github/.github/workflows/auto-add-user-project.yml@v0.1.0
16-
secrets: inherit
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: CCBR/actions/user-projects@main
20+
with:
21+
app-id: ${{ vars.CCBR_BOT_APP_ID }}
22+
app-private-key: ${{ secrets.CCBR_BOT_PRIVATE_KEY }}
23+
token-owner: "CCBR"

0 commit comments

Comments
 (0)