Skip to content

Commit cb1daf6

Browse files
authored
Create release notes GitHub action
1 parent c971909 commit cb1daf6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Check Release Notes in the description
2+
on:
3+
pull_request:
4+
types: [opened, edited]
5+
6+
jobs:
7+
check:
8+
runs-on: ubuntu-24.04
9+
steps:
10+
- uses: actions/checkout@v4
11+
with:
12+
name: JetBrains/compose-multiplatform
13+
filter: 'tools'
14+
- uses: actions/setup-java@v4
15+
with:
16+
distribution: 'corretto'
17+
java-version: '17'
18+
- name: Test Gradle plugin
19+
shell: bash
20+
run: |
21+
cd tools
22+
# https://github.com/actions/checkout/issues/58#issuecomment-2264361099
23+
PR_NUMBER=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; /^refs\/pull/ { print $3 }')
24+
kotlin changelog.main.kts action=checkPr ${{ github.repository }} $PR_NUMBER

0 commit comments

Comments
 (0)