Skip to content

Commit

Permalink
Merge pull request #50 from reviewdog/bump-actions-checkout-v4
Browse files Browse the repository at this point in the history
bump actions/checkout v4
  • Loading branch information
shogo82148 authored Sep 7, 2023
2 parents 105f2d3 + 74c851d commit 74babc2
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/test/using_gemfile/Gemfile
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
Expand All @@ -19,7 +19,7 @@ jobs:
uses: ./
with:
github_token: ${{ secrets.github_token }}
brakeman_version: 'gemfile'
brakeman_flags: '--force'
brakeman_version: "gemfile"
brakeman_flags: "--force"
- run: |
test "$(bundle exec brakeman --version)" == "brakeman 5.1.2"
4 changes: 2 additions & 2 deletions .github/workflows/depup.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: depup
on:
schedule:
- cron: '14 14 * * *' # Runs at 14:14 UTC every day
- cron: "14 14 * * *" # Runs at 14:14 UTC every day
repository_dispatch:
types: [depup]

jobs:
reviewdog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: haya14busa/action-depup@v1
id: depup
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- master
tags:
- 'v*.*.*'
- "v*.*.*"
pull_request:
types:
- labeled
Expand All @@ -14,7 +14,7 @@ jobs:
if: github.event.action != 'labeled'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Bump version on merging Pull Requests with specific labels.
# (bump:major,bump:minor,bump:patch)
Expand Down Expand Up @@ -51,6 +51,6 @@ jobs:
if: github.event.action == 'labeled'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Post bumpr status comment
uses: haya14busa/action-bumpr@v1
6 changes: 3 additions & 3 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: runner / shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
Expand All @@ -17,7 +17,7 @@ jobs:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: misspell
uses: reviewdog/action-misspell@v1
with:
Expand All @@ -29,7 +29,7 @@ jobs:
name: check / yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: yamllint
uses: reviewdog/action-yamllint@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: check / yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: yamllint
uses: reviewdog/action-yamllint@v1
with:
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ With `reporter: github-pr-review` a comment is added to the Pull Request Convers

### `brakeman_version`

Optional. Set brakeman version.
* empty or omit: install latest version
* `gemfile`: install version from Gemfile (`Gemfile.lock` should be presented, otherwise it will fallback to latest bundler version)
* version (e.g. `4.8.2`): install said version
Optional. Set brakeman version.

- empty or omit: install latest version
- `gemfile`: install version from Gemfile (`Gemfile.lock` should be presented, otherwise it will fallback to latest bundler version)
- version (e.g. `4.8.2`): install said version

### `brakeman_flags`

Expand Down Expand Up @@ -63,7 +64,7 @@ Default is `added`.

### `fail_on_error`

Optional. Exit code for reviewdog when errors are found [`true`, `false`]
Optional. Exit code for reviewdog when errors are found [`true`, `false`]
Default is `false`.

### `reviewdog_flags`
Expand All @@ -85,7 +86,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down

0 comments on commit 74babc2

Please sign in to comment.