ci: use app token for remaining automation
This commit is contained in:
@@ -13,8 +13,16 @@ jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Generate bot app token
|
||||
id: app-token
|
||||
uses: actions/create-github-app-token@v2
|
||||
with:
|
||||
app-id: ${{ secrets.OC_REVIEW_APP_ID }}
|
||||
private-key: ${{ secrets.OC_REVIEW_APP_PRIVATE_KEY }}
|
||||
|
||||
- uses: actions/stale@v10
|
||||
with:
|
||||
repo-token: ${{ steps.app-token.outputs.token }}
|
||||
days-before-stale: 60
|
||||
days-before-close: 7
|
||||
stale-issue-label: stale
|
||||
|
||||
Reference in New Issue
Block a user