Skip to content

Commit fb48464

Browse files
authored
Merge pull request #14 from haya14busa/update-flow
Add reviewdog workflow
2 parents bba9db2 + 3ad1b3f commit fb48464

2 files changed

Lines changed: 54 additions & 0 deletions

File tree

.github/workflows/reviewdog.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: reviewdog
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
jobs:
8+
shellcheck:
9+
name: runner / shellcheck
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: haya14busa/action-cond@v1
14+
id: reporter
15+
with:
16+
cond: ${{ github.event_name == 'pull_request' }}
17+
if_true: "github-pr-review"
18+
if_false: "github-check"
19+
- uses: reviewdog/action-shellcheck@v1
20+
with:
21+
github_token: ${{ secrets.github_token }}
22+
reporter: ${{ steps.reporter.outputs.value }}
23+
level: warning
24+
25+
hadolint:
26+
name: runner / hadolint
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: haya14busa/action-cond@v1
31+
id: reporter
32+
with:
33+
cond: ${{ github.event_name == 'pull_request' }}
34+
if_true: "github-pr-review"
35+
if_false: "github-check"
36+
- uses: reviewdog/action-hadolint@v1
37+
with:
38+
github_token: ${{ secrets.github_token }}
39+
reporter: ${{ steps.reporter.outputs.value }}
40+
level: warning
41+
42+
misspell:
43+
name: runner / misspell
44+
runs-on: ubuntu-latest
45+
steps:
46+
- uses: actions/checkout@v2
47+
- uses: reviewdog/action-misspell@v1
48+
with:
49+
github_token: ${{ secrets.github_token }}
50+
reporter: github-check
51+
level: warning
52+
locale: "US"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# GitHub Action: Update major/minor semver
22

33
[![Docker Image CI](https://github.com/haya14busa/action-update-semver/workflows/Docker%20Image%20CI/badge.svg)](https://github.com/haya14busa/action-update-semver/actions)
4+
[![reviewdog](https://github.com/haya14busa/action-update-semver/workflows/reviewdog/badge.svg)](https://github.com/haya14busa/action-update-semver/actions?query=workflow%3Areviewdog)
45
[![release](https://github.com/haya14busa/action-update-semver/workflows/release/badge.svg)](https://github.com/haya14busa/action-update-semver/actions?query=workflow%3Arelease)
6+
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/haya14busa/action-update-semver?logo=github&sort=semver)](https://github.com/haya14busa/action-update-semver/releases)
57

68
This action updates major/minor release tags on a tag push.
79
e.g. Update `v1` and `v1.2` tag when released `v1.2.3`.

0 commit comments

Comments
 (0)