Skip to content

Commit

Permalink
CI: 跳过pr中间构建
Browse files Browse the repository at this point in the history
  • Loading branch information
inkydragon committed Oct 18, 2024
1 parent 68273c6 commit fb30e70
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ on:
pull_request:
workflow_dispatch:

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
HTML:
runs-on: ubuntu-latest
Expand Down

0 comments on commit fb30e70

Please sign in to comment.