Skip to content

Commit 361b92c

Browse files
authored
Merge pull request #26 from domaframework/ci/release-draft-target-only-main
Fix: release-raft should only be run on the main branch
2 parents f9378be + 866da78 commit 361b92c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release-drafter.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
87
pull_request:
98
types: [opened, reopened, synchronize]
109
workflow_dispatch:
@@ -18,7 +17,11 @@ jobs:
1817
contents: write
1918
pull-requests: write
2019
runs-on: ubuntu-latest
20+
timeout-minutes: 30
21+
2122
steps:
2223
- uses: release-drafter/release-drafter@v6
2324
env:
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
commitish: main

0 commit comments

Comments
 (0)