Skip to content

Commit 597e843

Browse files
committed
Chore(release): add action to assemble the release
1 parent 28746af commit 597e843

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/draft.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: draft
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
pull_request:
8+
types: [opened, reopened, synchronize]
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
update_release_draft:
15+
if: ${{ github.actor != 'dependabot[bot]' }}
16+
permissions:
17+
contents: write
18+
pull-requests: write
19+
runs-on: ubuntu-latest
20+
steps:
21+
- id: create_token
22+
uses: actions/create-github-app-token@v2
23+
with:
24+
app-id: ${{ secrets.RUNWAY_CI_BOT_APP_ID }}
25+
private-key: ${{ secrets.RUNWAY_CI_BOT_PRIVATE_KEY }}
26+
- uses: release-drafter/release-drafter@v6
27+
with:
28+
publish: false
29+
env:
30+
GITHUB_TOKEN: ${{ steps.create_token.outputs.token }}

0 commit comments

Comments
 (0)