This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
Added Disclaimer that This project is not maintained anymore #136
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
# | |
# Copyright (c) 2021 Seagate Technology LLC and/or its Affiliates | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU Affero General Public License as published | |
# by the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU Affero General Public License for more details. | |
# You should have received a copy of the GNU Affero General Public License | |
# along with this program. If not, see <https://www.gnu.org/licenses/>. | |
# For any questions about this software or licensing, | |
# please email [email protected] or [email protected]. | |
# | |
# Configuration for alex - https://github.com/get-alex/alex | |
name: CORTX inclusive words scan | |
on: | |
# Trigger the workflow on pull request labeled as cla-signed | |
# and synchronize for the main branch | |
pull_request: | |
types: [ opened, synchronize ] | |
branches: | |
- main | |
# Trigger the workflow on demand | |
workflow_dispatch: | |
jobs: | |
# Let's start the alex to scan | |
alex: | |
name: Alex report | |
#if: ${{ github.event.label.name == 'alex' || github.event.action == 'synchronize' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: reviewdog/action-alex@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
filter_mode: added | |
reporter: github-pr-review | |
fail_on_error: true | |
level: warning | |