Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

CORTX-30785: Fixing the Alex bug #631

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/alex_reviewdog.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2020 Seagate Technology LLC and/or its Affiliates
# 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
Expand All @@ -22,7 +22,7 @@ on:
# Trigger the workflow on pull request labeled as cla-signed
# and synchronize for the main branch
pull_request:
types: [ labeled, synchronize ]
types: [ opened, synchronize ]
branches:
- main
# Trigger the workflow on demand
Expand All @@ -31,13 +31,19 @@ jobs:
# Let's start the alex to scan
alex:
name: Alex report
if: ${{ github.event.label.name == 'cla-signed' || github.event.action == 'synchronize' }}
#if: ${{ github.event.label.name == 'alex' || github.event.action == 'synchronize' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Seagate/action-alex@v1

- 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: false
fail_on_error: true
level: warning