Skip to content

Commit

Permalink
Use sha instead event payload (#18897)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kordyjan authored Nov 10, 2023
2 parents d539605 + 00fb0f0 commit a7aa5f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lts-backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

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

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

0 comments on commit a7aa5f0

Please sign in to comment.