Skip to content

Commit

Permalink
style: use suggested formating of on
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 committed Feb 29, 2024
1 parent 8a9325a commit e659656
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 18 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/python_test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: python_test

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

# yamllint disable-line rule:truthy
on:
'on':
workflow_dispatch:
push:
branches:
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 e659656

Please sign in to comment.