AO3-6859 Fix admins being disallowed from tags pages #1514
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on https://github.com/tk0miya/action-erblint/blob/main/README.md#example-usage | |
name: Reviewdog | |
on: [pull_request] | |
permissions: | |
checks: write | |
jobs: | |
rubocop: | |
name: Rubocop | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_ONLY: linters | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Ruby and run bundle install | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: rubocop | |
uses: reviewdog/action-rubocop@cd8c2943f425b54f97095777109ae9f1f2d79a61 | |
with: | |
use_bundler: true | |
reporter: github-pr-check | |
skip_install: true | |
fail_level: any | |
erb-lint: | |
name: ERB Lint runner | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_ONLY: linters | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Ruby and run bundle install | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: erb-lint | |
uses: tk0miya/action-erblint@b6e537f4616e4fa7a9eef209ca34ca944e1440dd | |
with: | |
use_bundler: true | |
reporter: github-pr-check | |
fail_on_error: true |