mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 20:03:53 +08:00
* initial updates to the actions to run for sp * ignore license file * more updates * undoing some of the changes because I was blocking the runs on * allowing the submodule check as well * Allowing macos builds * test adding cache key * don't attempt build_release for selfdrive for the time being. * Blocking macos builds as well since they have a 10x miltiplier for GH aciton minutes, waaaay too much! * lol nice typo codespell * change ref commit id to check if replay passes
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
name: stale
|
|
on:
|
|
schedule:
|
|
- cron: '30 1 * * *'
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
DAYS_BEFORE_PR_CLOSE: 2
|
|
DAYS_BEFORE_PR_STALE: 9
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
exempt-all-milestones: true
|
|
|
|
# pull request config
|
|
stale-pr-message: 'This PR has had no activity for ${{ env.DAYS_BEFORE_PR_STALE }} days. It will be automatically closed in ${{ env.DAYS_BEFORE_PR_CLOSE }} days if there is no activity.'
|
|
close-pr-message: 'This PR has been automatically closed due to inactivity. Feel free to re-open once activity resumes.'
|
|
stale-pr-label: stale
|
|
delete-branch: ${{ github.event.pull_request.head.repo.full_name == 'sunnypilot/sunnypilot' }} # only delete branches on the main repo
|
|
exempt-pr-labels: "ignore stale,needs testing" # if wip or it needs testing from the community, don't mark as stale
|
|
days-before-pr-stale: ${{ env.DAYS_BEFORE_PR_STALE }}
|
|
days-before-pr-close: ${{ env.DAYS_BEFORE_PR_CLOSE }}
|
|
|
|
# issue config
|
|
days-before-issue-stale: -1 # ignore issues for now
|