Skip to content

Commit 9944955

Browse files
committed
Cleanup android release notes workflow
1 parent e9e3808 commit 9944955

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/android.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
name: Validate Android Release Notes
22

33
on:
44
workflow_dispatch: # Enables manual trigger
@@ -26,12 +26,13 @@ jobs:
2626
run: |
2727
pip install requests pyyaml jinja2
2828
29-
- name: Render Notes
29+
- name: Validate Notes
3030
shell: bash
3131
working-directory: notes
3232
env:
33-
BASE_REF: ${{ github.event.pull_request.base.ref }}
33+
BASE_REF: ${{ github.event.pull_request.base.ref || github.head_ref }}
3434
run: |
35+
echo "BASE_REF=${BASE_REF}"
3536
BETA_FILES=$(git diff --name-only origin/$BASE_REF $GITHUB_SHA | grep ^android_beta || true )
3637
3738
for file in $BETA_FILES

0 commit comments

Comments
 (0)