Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance/gh actions #477

Merged
merged 5 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
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
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
Loading