mirror of
https://github.com/ivuorinen/base-configs-browserslist.git
synced 2026-03-02 19:54:23 +00:00
Set top-level `permissions: {}` on all workflows and move required
permissions to job level. Switch publish.yml from secrets.PAT to
secrets.GITHUB_TOKEN so semantic-release can comment on PRs/issues.
24 lines
526 B
YAML
24 lines
526 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:
|
|
contents: write # only for delete-branch option
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: ivuorinen/actions/stale@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
|