Skip to content

Commit

Permalink
Add yaml linting via reviewdog (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnboyes committed Jul 29, 2020
1 parent 0fdf141 commit 81d7957
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/github_tag_and_release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
name: Tag

on:
on: # yamllint disable-line rule:truthy
pull_request:
types:
types:
- closed

jobs:
Expand All @@ -11,7 +12,7 @@ jobs:
name: Tag semantic version
runs-on: ubuntu-latest
steps:
- name: Tag
- name: Tag
uses: K-Phoen/[email protected]
with:
release_branch: main
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: reviewdog
on:
on: # yamllint disable-line rule:truthy
push:

jobs:
Expand All @@ -16,3 +16,14 @@ jobs:
with:
github_token: ${{ secrets.github_token }}
reporter: github-check

yamllint:
name: runner / yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: yamllint
uses: reviewdog/action-yamllint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-check
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
name: 'Container Action Template'
description: 'Get started with Container actions'
author: 'GitHub'
inputs:
inputs:
myInput:
description: 'Input to use'
default: 'world'
Expand Down

0 comments on commit 81d7957

Please sign in to comment.