1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-01 11:50:25 +02:00

Github Actions improve (#1049)

* github actions

* github actions
This commit is contained in:
Paweł Kuna
2024-03-13 03:41:02 +01:00
committed by GitHub
parent 6174beca0f
commit dacfda3267
3 changed files with 35 additions and 0 deletions

15
.github/labeler.yml vendored
View File

@@ -3,3 +3,18 @@
- changed-files:
- any-glob-to-any-file:
- pnpm-lock.yaml
# For icons changes
🎨 icons:
- changed-files:
- any-glob-to-any-file:
- 'icons/**/*.svg'
- aliases.json
# For Github Actions
🤖 github-actions:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/*.yml
- .github/labeler.yml
- .github/dependabot.yml

20
.github/workflows/close-stale-prs.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Close stale issues and PR
on:
schedule:
- cron: '45 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.
close-pr-message: This PR was closed because it has been stalled for 5 days with no activity.
close-pr-label: 🧶 stale
days-before-stale: 30
days-before-issue-stale: -1
days-before-close: -1