ci: use app token for remaining automation

This commit is contained in:
Bohdan Triapitsyn
2026-06-10 02:20:05 +03:00
parent e685ef67f0
commit b494dba8ed
4 changed files with 36 additions and 2 deletions
+8
View File
@@ -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