Skip to content

Commit

Permalink
"Refactor lint triggering mechanism in workflows
Browse files Browse the repository at this point in the history
Changes have been made to the triggering conditions in 'Do Lint' and 'Quality Checks' yaml workflows. Earlier, execution was dependent on the completion of other workflows and specific to branch names. This has now been replaced with a repository dispatch event, allowing the workflows to trigger on any push to any branch. This improves process efficiency and automation, ensuring lint checks are performed for all push events, irrespective of the branches in use."
  • Loading branch information
Omar Al-Jarrah committed Nov 29, 2023
1 parent 87f7684 commit 8042bf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/do-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- '*/*'
- '**'
jobs:
flake8-lint:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
Expand All @@ -41,6 +41,7 @@ jobs:
dispatch:
runs-on: ubuntu-latest
name: Dispatch Completion Event
needs: [lint]
outputs:
workflow_run_id: ${{ github.run_id }}
steps:
Expand Down

0 comments on commit 8042bf3

Please sign in to comment.