Skip to content

Commit

Permalink
Merge pull request #35 from vil02/format_yml_on
Browse files Browse the repository at this point in the history
style: use suggested formating of `on`
  • Loading branch information
vil02 authored Feb 29, 2024
2 parents f944ae5 + 8d47a1c commit b556553
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/all_url_check.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: all_url_check

# yamllint disable-line rule:truthy
on:
'on':
workflow_dispatch:
push:
schedule:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build_document.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: build_document

# yamllint disable-line rule:truthy
on:
'on':
workflow_dispatch:
push:
paths-ignore:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/check_shell_scripts.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: check_shell_scripts

# yamllint disable-line rule:truthy
on:
'on':
workflow_dispatch:
push:

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/chktex.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: latex_linter_check

# yamllint disable-line rule:truthy
on:
'on':
workflow_dispatch:
push:
paths-ignore:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/md_link_check.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: Check Markdown links

# yamllint disable-line rule:truthy
on: [workflow_dispatch, push]
'on': [workflow_dispatch, push]

jobs:
markdown-link-check:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pdf_check.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: pdf_check

# yamllint disable-line rule:truthy
on:
'on':
workflow_dispatch:
push:
paths:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/yaml_check.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: yaml_check

# yamllint disable-line rule:truthy
on: [workflow_dispatch, push]
'on': [workflow_dispatch, push]

jobs:
run_yamllint:
Expand Down

0 comments on commit b556553

Please sign in to comment.