ci: should not cancel since duplicate in master branch (#4728)

Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
This commit is contained in:
Shuyang Wu 2021-08-01 07:23:32 -04:00 committed by GitHub
parent 9db2dd2399
commit c5e0ecd62f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ on:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
cancel-in-progress: true
jobs: