Skip to content

Commit

Permalink
"Update GitHub Actions workflows for Lint
Browse files Browse the repository at this point in the history
Refactored the Lint workflow to operate independently from the 'Quality Checks' workflow, simplifying its triggering conditions. Now it is triggered on any push, removing branch specifics. Also, cleaned up the 'workflows' and 'types' values in 'Quality Checks' workflow. Streamlining these functions improves efficiency, management, and debugging processes."
  • Loading branch information
Omar Al-Jarrah committed Nov 29, 2023
1 parent fd6b7ac commit c0ba0f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/do-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@
# limitations under the License.

name: Do Lint
on:
push:
branches:
- '*'
- '*/*'
- '**'
- '!main'
on: push
jobs:
flake8-lint:
runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
name: Quality Checks
on:
workflow_run:
workflows: ["Do Lint"]
types:
- completed
workflows: [Do Lint]
types: [completed]
jobs:
flake8-lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c0ba0f7

Please sign in to comment.