We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9e3808 commit 9944955Copy full SHA for 9944955
.github/workflows/android.yml
@@ -1,4 +1,4 @@
1
----
+name: Validate Android Release Notes
2
3
on:
4
workflow_dispatch: # Enables manual trigger
@@ -26,12 +26,13 @@ jobs:
26
run: |
27
pip install requests pyyaml jinja2
28
29
- - name: Render Notes
+ - name: Validate Notes
30
shell: bash
31
working-directory: notes
32
env:
33
- BASE_REF: ${{ github.event.pull_request.base.ref }}
+ BASE_REF: ${{ github.event.pull_request.base.ref || github.head_ref }}
34
35
+ echo "BASE_REF=${BASE_REF}"
36
BETA_FILES=$(git diff --name-only origin/$BASE_REF $GITHUB_SHA | grep ^android_beta || true )
37
38
for file in $BETA_FILES
0 commit comments