AO3-6762: Restrict access to actions on TagsController #1248
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@a162a8e8976d8b3b7141c2147d7d79eed7cc8c4c | |
with: | |
use_bundler: true | |
reporter: github-pr-check | |
skip_install: true | |
fail_on_error: true | |
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 |