forked from denysdovhan/purifier-card
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
94 additions
and
24 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Stale | ||
on: | ||
schedule: | ||
- cron: '0 * * * *' | ||
workflow_dispatch: | ||
|
||
permissions: | ||
issues: write # to close stale issues (actions/stale) | ||
pull-requests: write # to close stale PRs (actions/stale) | ||
|
||
jobs: | ||
stale: | ||
name: Stale | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🧹 Clean stale issues and pull requests | ||
uses: actions/stale@v8 | ||
with: | ||
stale-issue-message: > | ||
There hasn't been any activity on this issue recently. | ||
This issue has now been marked as stale and will be closed if no further activity occurs. | ||
Please, update to the latest version and check if that solves the issue. | ||
Thank you for your contributions! | ||
close-issue-message: > | ||
This issue was closed because it has been stalled for 30 days with no activity. | ||
Please open a new issue if the issue is still relevant, linking to this one. | ||
stale-pr-message: > | ||
This PR is stale because there hasn't been any activity for a long time. | ||
close-pr-message: > | ||
This PR was closed because it has been stalled for 30 days with no activity. | ||
days-before-issue-stale: 60 | ||
days-before-pr-stale: 90 | ||
days-before-issue-close: 30 | ||
days-before-pr-close: 30 | ||
exempt-all-milestones: true | ||
stale-issue-label: stale | ||
stale-pr-label: stale | ||
exempt-issue-labels: no-stale | ||
exempt-pr-labels: no-stale | ||
exempt-draft-pr: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Validate | ||
on: | ||
push: | ||
pull_request: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
validate: | ||
name: Validate | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ⬇️ Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: ⬢ Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '*' | ||
cache: npm | ||
|
||
- name: 📦 Install Packages | ||
run: npm ci | ||
|
||
- name: 🧪 Test | ||
run: npm test | ||
|
||
- name: 👷 HACS validation | ||
uses: hacs/action@main | ||
with: | ||
category: plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters