Run all-contributor check daily
This commit is contained in:
@@ -2,7 +2,7 @@ name: "Chore: Daily Tasks"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: "0 0 * * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -355,11 +355,33 @@ jobs:
|
|||||||
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836 # v4
|
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836 # v4
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.BOT_TOKEN }}
|
github-token: ${{ secrets.BOT_TOKEN }}
|
||||||
issue-inactive-days: '7'
|
issue-inactive-days: "7"
|
||||||
exclude-any-issue-labels: ''
|
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-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: ''
|
issue-lock-reason: ""
|
||||||
pr-inactive-days: '7'
|
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-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'
|
pr-lock-reason: "resolved"
|
||||||
log-output: true
|
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)
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
{
|
{
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"all-contributors-cli": "6.24.0"
|
"all-contributors-cli": "6.24.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"contributors:add": "all-contributors add",
|
||||||
|
"contributors:generate": "all-contributors generate"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user