Run all-contributor check daily

This commit is contained in:
Kjeld Schouten-Lebbing
2023-03-16 11:09:35 +01:00
parent c313deeb15
commit 2a21a8f6da
2 changed files with 34 additions and 8 deletions
+30 -8
View File
@@ -2,7 +2,7 @@ name: "Chore: Daily Tasks"
on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:
permissions:
@@ -355,11 +355,33 @@ jobs:
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836 # v4
with:
github-token: ${{ secrets.BOT_TOKEN }}
issue-inactive-days: '7'
exclude-any-issue-labels: ''
issue-comment: 'This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists'
issue-lock-reason: ''
pr-inactive-days: '7'
pr-comment: 'This PR is locked to prevent necro-posting on closed PRs. Please create a issue or contact staff on discord if you want to further discuss this'
pr-lock-reason: 'resolved'
issue-inactive-days: "7"
exclude-any-issue-labels: ""
issue-comment: "This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists"
issue-lock-reason: ""
pr-inactive-days: "7"
pr-comment: "This PR is locked to prevent necro-posting on closed PRs. Please create a issue or contact staff on discord if you want to further discuss this"
pr-lock-reason: "resolved"
log-output: true
check contributors:
name: Build & Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
with:
token: ${{ secrets.BOT_TOKEN }}
fetch-depth: 1
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: borales/actions-yarn@v4.2.0
with:
cmd: install --frozen-lockfile
- name: List missing and unknown contributors
run: |
awk -F', ' '{ for( i=1; i<=NF; i++ ) print $i }' <<<$(yarn all-contributors check)
+4
View File
@@ -1,5 +1,9 @@
{
"devDependencies": {
"all-contributors-cli": "6.24.0"
},
"scripts": {
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
}
}