Skip to content

Commit

Permalink
Merge pull request #135 from natekspencer/dev
Browse files Browse the repository at this point in the history
Update CI/CD workflows
  • Loading branch information
natekspencer authored Apr 26, 2024
2 parents d9ea228 + f882eb5 commit 543399c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4

- name: Set version number
shell: bash
Expand All @@ -29,6 +29,6 @@ jobs:
zip vivint.zip -r ./
- name: Upload ZIP file to release
uses: softprops/action-gh-release@v0.1.15
uses: softprops/action-gh-release@v2
with:
files: ${{ github.workspace }}/custom_components/vivint/vivint.zip
17 changes: 8 additions & 9 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,20 @@ name: Close stale issues and PRs

on:
schedule:
- cron: '30 19 * * *'
- cron: "30 19 * * *"

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v7
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has now been marked as stale and will be closed if no further activity occurs.'
stale-pr-message: 'This PR has now been marked as stale and will be closed if no further activity occurs.'
exempt-issue-labels: 'enhancement'
days-before-stale: 30
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue has now been marked as stale and will be closed if no further activity occurs."
stale-pr-message: "This PR has now been marked as stale and will be closed if no further activity occurs."
exempt-issue-labels: "enhancement"
days-before-stale: 30
2 changes: 1 addition & 1 deletion .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- uses: "actions/checkout@v4"
- name: HACS validation
uses: "hacs/action@main"
with:
Expand Down

0 comments on commit 543399c

Please sign in to comment.