Skip to content

Commit

Permalink
ci: add stale bot (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
raffis authored Sep 15, 2023
1 parent 49eeaaf commit 5f0be92
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pr-stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: pr-stale
on:
schedule:
- cron: '30 1 * * *'

permissions: {}

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
with:
days-before-close: '120'
stale-pr-label: stale
repo-token: ${{ github.token }}
3 changes: 1 addition & 2 deletions .github/workflows/scorecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
permissions: {}

jobs:
analysis:
name: Scorecard analysis
scorecard:
runs-on: ubuntu-latest
permissions:
security-events: write
Expand Down

0 comments on commit 5f0be92

Please sign in to comment.