mirror of
https://github.com/ivuorinen/base-configs-stylelint.git
synced 2026-03-01 09:54:03 +00:00
Replace overly broad top-level permissions (read-all) with empty defaults and declare minimal job-level permissions. Switch publish workflow from secrets.PAT to secrets.GITHUB_TOKEN so semantic-release can comment on PRs and issues.
23 lines
472 B
YAML
23 lines
472 B
YAML
---
|
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
name: Stale
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 8 * * *' # Every day at 08:00
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
stale:
|
|
name: 🧹 Clean up stale issues and PRs
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: ivuorinen/actions/stale@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
|