Skip to content

Commit e6aa435

Browse files
committed
Merge branch 'chore/project-bot-app' into 'main'
ci: use a GitHub App token for the issues board See merge request deepl-org/deepl/agentic-experience/deepl-cli!1
2 parents 8ebf968 + 463a409 commit e6aa435

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Add issues to the user issues board
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
8+
jobs:
9+
add-to-project:
10+
name: Add issue to project
11+
runs-on: ubuntu-latest
12+
permissions: {}
13+
steps:
14+
- uses: actions/create-github-app-token@v3.2.0
15+
id: app-token
16+
with:
17+
client-id: ${{ secrets.PROJECT_BOT_CLIENT_ID }}
18+
private-key: ${{ secrets.PROJECT_BOT_PRIVATE_KEY }}
19+
- uses: actions/add-to-project@v2.0.0
20+
with:
21+
project-url: https://github.com/orgs/DeepL/projects/1
22+
github-token: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)