Skip to content

Commit

Permalink
Merge pull request #477 from ExperienceLovelace/maintenance/gh_actions
Browse files Browse the repository at this point in the history
Maintenance/gh actions
  • Loading branch information
exetico authored Oct 31, 2024
2 parents d1837a9 + cc7bd6f commit 99fb490
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'

jobs:
build:
Expand Down Expand Up @@ -52,11 +56,6 @@ jobs:
if: contains(steps.can_commit.outputs.commit_result, 'nothing to commit')
run: echo "No changes found (for both main code and docs). Skipping push."

- name: Dump GitHub context
run: echo $JSON
env:
JSON: ${{ toJSON(github) }}

- name: Push changes to target branch
if: (contains(steps.can_commit.outputs.commit_result, 'nothing to commit') == false) && (github.event_name == 'push')
uses: ad-m/github-push-action@master
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/hacs-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: HACS Validation

on:
push:
paths-ignore:
- 'docs/**'
- '.github/workflows/'
schedule:
- cron: "0 0 * * *"

Expand Down

0 comments on commit 99fb490

Please sign in to comment.