Add: #883 管理者の設定したカスタムCSSをユーザー単位で無効にするオプション #1157
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
name: Haml Linting | |
on: | |
merge_group: | |
push: | |
branches: | |
- 'main' | |
- 'kb*' | |
- 'upstream-*' | |
- 'releases/*' | |
- 'stable-*' | |
paths: | |
- '.github/workflows/haml-lint-problem-matcher.json' | |
- '.github/workflows/lint-haml.yml' | |
- '.haml-lint*.yml' | |
- '.rubocop*.yml' | |
- '.ruby-version' | |
- '**/*.haml' | |
- 'Gemfile*' | |
pull_request: | |
paths: | |
- '.github/workflows/haml-lint-problem-matcher.json' | |
- '.github/workflows/lint-haml.yml' | |
- '.haml-lint*.yml' | |
- '.rubocop*.yml' | |
- '.ruby-version' | |
- '**/*.haml' | |
- 'Gemfile*' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_ONLY: development | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Run haml-lint | |
run: | | |
echo "::add-matcher::.github/workflows/haml-lint-problem-matcher.json" | |
bundle exec haml-lint --reporter github |