Skip to content

Commit

Permalink
ci: fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Disane87 committed Oct 5, 2023
1 parent a164d99 commit d6effc3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: "Lint"

on:
push:
branches: ['dev', 'main']
branches: ['dev']
paths: ['custom_components/**']
pull_request:
branches: ['dev', 'main']
branches: ['main']
paths: ['custom_components/**']

jobs:
ruff:
lint:
name: "Ruff"
runs-on: "ubuntu-latest"
steps:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/semantic_release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: "Semantic Release"

on:
workflow_run:
workflows: [Validate]
types:
- completed
push:
branches: ['dev']
paths: ['custom_components/**']
pull_request:
branches: ['main']
paths: ['custom_components/**']
# push:
# branches: ['main', 'dev']
# paths: ['custom_components/**']
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: "Validate"

on:
workflow_run:
workflows: [Lint]
types:
- completed
push:
branches: ['dev']
paths: ['custom_components/**']
pull_request:
branches: ['main']
paths: ['custom_components/**']
# push:
# branches: ['main', 'dev']
# pull_request: ['main', 'dev']
Expand Down

0 comments on commit d6effc3

Please sign in to comment.