.github/workflows/editorconfig.yml: allow PRs to skip check

Intended for treewide reformatting PRs so we don't hit the API ratelimit.
This commit is contained in:
zowoq 2021-12-03 06:40:09 +10:00
parent 6cbce58b9d
commit c3338bcdc4

View file

@ -11,7 +11,7 @@ on:
jobs: jobs:
tests: tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository_owner == 'NixOS' if: "github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip editorconfig]')"
steps: steps:
- name: Get list of changed files from PR - name: Get list of changed files from PR
env: env: