stylix: yamlint ignore truthy for workflows (#1116)
Link: https://github.com/nix-community/stylix/pull/1116 Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
093087e969
commit
64b9f2c2df
7 changed files with 16 additions and 10 deletions
2
.github/workflows/backport.yml
vendored
2
.github/workflows/backport.yml
vendored
|
|
@ -3,7 +3,7 @@
|
|||
# https://github.com/NixOS/nixpkgs/blob/2566f9dcb469b06241519a8185863d67773f943a/.github/workflows/backport.yml
|
||||
name: Backport
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [closed, labeled]
|
||||
|
||||
|
|
|
|||
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: Check
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
|
|
|||
2
.github/workflows/conflicts.yml
vendored
2
.github/workflows/conflicts.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: Label Merge Conflicts
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
|
|
|||
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: Docs
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
|
|
|||
2
.github/workflows/labels.yml
vendored
2
.github/workflows/labels.yml
vendored
|
|
@ -9,7 +9,7 @@
|
|||
---
|
||||
name: "Label PR"
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [edited, opened, synchronize, reopened]
|
||||
|
||||
|
|
|
|||
10
.github/workflows/update-flake.yml
vendored
10
.github/workflows/update-flake.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: Update flake inputs
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 1 * *"
|
||||
workflow_dispatch:
|
||||
|
|
@ -34,11 +34,11 @@ jobs:
|
|||
commit-msg: "flake: update all inputs"
|
||||
pr-title: "${{ startsWith(matrix.branch, 'release') && format('[{0}] ', matrix.branch) || '' }}stylix: update all flake inputs" # yamllint disable-line rule:line-length
|
||||
pr-labels: "topic: dependencies"
|
||||
# yamllint disable rule:line-length
|
||||
pr-body: |
|
||||
Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action.
|
||||
pr-body: >
|
||||
Automated changes by the
|
||||
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock)
|
||||
GitHub Action.
|
||||
|
||||
```
|
||||
{{ env.GIT_COMMIT_MESSAGE }}
|
||||
```
|
||||
# yamllint enable rule:line-length
|
||||
|
|
|
|||
6
.yamllint.yml
Normal file
6
.yamllint.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
truthy:
|
||||
ignore: .github/workflows/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue