Skip to content

Commit

Permalink
🔄 synced file(s) with klaasnicolaas/github-config (#121)
Browse files Browse the repository at this point in the history
* 🔄 synced local 'template/.github/' with remote 'github/'

* 🔄 synced local '.github/workflows/' with remote 'github/workflows/'

* Remove funding information
  • Loading branch information
klaasnicolaas authored Apr 3, 2024
1 parent 5b089f7 commit 01d7783
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,22 @@ name: Lock
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 23 * * *"
- cron: "0 8 * * *"
workflow_dispatch:

jobs:
lock:
name: 🔒 Lock closed issues and PRs
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
discussions: write
steps:
- uses: dessant/[email protected]
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: "30"
issue-inactive-days: "30"
issue-lock-reason: ""
pr-lock-inactive-days: "1"
pr-inactive-days: "1"
pr-lock-reason: ""
5 changes: 4 additions & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ name: Stale
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 22 * * *"
- cron: "0 7 * * *"
workflow_dispatch:

jobs:
stale:
name: 🧹 Clean up stale issues and PRs
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: 🚀 Run stale
uses: actions/[email protected]
Expand Down
10 changes: 7 additions & 3 deletions template/.github/workflows/lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,22 @@ name: Lock
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 15 * * *"
- cron: "0 8 * * *"
workflow_dispatch:

jobs:
lock:
name: 🔒 Lock closed issues and PRs
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
discussions: write
steps:
- uses: dessant/[email protected]
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: "30"
issue-inactive-days: "30"
issue-lock-reason: ""
pr-lock-inactive-days: "1"
pr-inactive-days: "1"
pr-lock-reason: ""
5 changes: 4 additions & 1 deletion template/.github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ name: Stale
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 14 * * *"
- cron: "0 7 * * *"
workflow_dispatch:

jobs:
stale:
name: 🧹 Clean up stale issues and PRs
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: 🚀 Run stale
uses: actions/[email protected]
Expand Down

0 comments on commit 01d7783

Please sign in to comment.