mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-04 02:45:44 +00:00
2652c73a4f
This will only cancel outdated workflow runs on PR branches and won't affect other normal repo branches. PR #16511.
22 lines
437 B
YAML
22 lines
437 B
YAML
name: CI - File health
|
|
|
|
on: [pull_request, push]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref }}
|
|
cancel-in-progress: ${{ github.head_ref != '' }}
|
|
|
|
jobs:
|
|
ci:
|
|
name: Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install tools
|
|
uses: actions/setup-python@v2
|
|
|
|
- name: Check files
|
|
uses: pre-commit/action@v2.0.3
|