mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 11:46:38 +08:00
Avoid double action runs (#5149)
Next try using `skip-duplicate-actions`
This commit is contained in:
parent
25a29df749
commit
49181d0240
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
@ -3,11 +3,19 @@ name: test
|
|||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
skip_check_job:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
should_skip: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@v3.4.1
|
||||
|
||||
unit:
|
||||
needs: skip_check_job
|
||||
if: ${{ needs.skip_check_job.outputs.should_skip != 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
|
|
Loading…
Reference in New Issue
Block a user