Skip to content

Commit 00fb0f0

Browse files
committed
Use sha instead event payload
1 parent 8ba0ef8 commit 00fb0f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/lts-backport.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
add-to-backporting-project:
10-
if: "!contains(github.event.push.message, '[Next only]')"
10+
if: "!contains(github.event.push.head_commit.message, '[Next only]')"
1111
runs-on: ubuntu-latest
1212

1313
steps:
@@ -16,7 +16,7 @@ jobs:
1616
fetch-depth: 0
1717
- uses: coursier/cache-action@v6
1818
- uses: VirtusLab/[email protected]
19-
- run: scala-cli ./project/scripts/addToBackportingProject.scala -- ${{ github.event.push.after }}
19+
- run: scala-cli ./project/scripts/addToBackportingProject.scala -- ${{ github.sha }}
2020
env:
2121
GRAPHQL_API_TOKEN: ${{ secrets.GRAPHQL_API_TOKEN }}
2222

0 commit comments

Comments
 (0)