mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Simplify workflow expression
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
3c3c57d673
commit
6562faa559
1 changed files with 1 additions and 5 deletions
|
|
@ -8,11 +8,7 @@ jobs:
|
|||
cppcheck:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
BASE_SHA: >-
|
||||
${{
|
||||
github.event_name == 'pull_request' && github.event.pull_request.base.sha ||
|
||||
github.event_name == 'push' && github.event.push.before
|
||||
}}
|
||||
BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.push.before }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue