This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
49 lines (45 loc) · 1.72 KB
/
alex_reviewdog.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# 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 opensource@seagate.com or cortx-questions@seagate.com.
#
# 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
- name: "Enable the permissions"
run: |
sudo chown -R root:root $GITHUB_WORKSPACE
- uses: seagate/action-alex@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
filter_mode: added
reporter: github-pr-review
fail_on_error: true
level: warning