mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 10:02:04 +08:00
fix: check org member workflow
This commit is contained in:
@@ -6,6 +6,11 @@ on:
|
||||
username:
|
||||
required: true
|
||||
type: string
|
||||
secrets:
|
||||
kilo-maintainer-app-id:
|
||||
required: true
|
||||
kilo-maintainer-app-secret:
|
||||
required: true
|
||||
outputs:
|
||||
is-member:
|
||||
description: Whether the user is an org member or kilo-maintainer bot
|
||||
@@ -21,8 +26,8 @@ jobs:
|
||||
id: apptoken
|
||||
uses: actions/create-github-app-token@v2
|
||||
with:
|
||||
app-id: ${{ secrets.KILO_MAINTAINER_APP_ID }}
|
||||
private-key: ${{ secrets.KILO_MAINTAINER_APP_SECRET }}
|
||||
app-id: ${{ secrets.kilo-maintainer-app-id }}
|
||||
private-key: ${{ secrets.kilo-maintainer-app-secret }}
|
||||
owner: ${{ github.repository_owner }}
|
||||
|
||||
- name: Check if author is org member or kilo-maintainer bot
|
||||
|
||||
@@ -10,6 +10,9 @@ jobs:
|
||||
uses: ./.github/workflows/check-org-member.yml
|
||||
with:
|
||||
username: ${{ github.event.pull_request.user.login }}
|
||||
secrets:
|
||||
kilo-maintainer-app-id: ${{ secrets.KILO_MAINTAINER_APP_ID }}
|
||||
kilo-maintainer-app-secret: ${{ secrets.KILO_MAINTAINER_APP_SECRET }}
|
||||
|
||||
check-duplicates:
|
||||
needs: check-author
|
||||
|
||||
@@ -10,6 +10,9 @@ jobs:
|
||||
uses: ./.github/workflows/check-org-member.yml
|
||||
with:
|
||||
username: ${{ github.event.pull_request.user.login }}
|
||||
secrets:
|
||||
kilo-maintainer-app-id: ${{ secrets.KILO_MAINTAINER_APP_ID }}
|
||||
kilo-maintainer-app-secret: ${{ secrets.KILO_MAINTAINER_APP_SECRET }}
|
||||
|
||||
check-standards:
|
||||
needs: check-author
|
||||
|
||||
Reference in New Issue
Block a user