ci/hotfix(build): inherit secret (#223)

* ci/hotfix(build): inherit secret

* fix: refine condition
This commit is contained in:
Kevin Yu 2023-07-16 14:00:27 +08:00 committed by GitHub
parent ebc6a1a292
commit ef6dc5dcf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ jobs:
with:
ref: ${{ github.sha }}
build-type: main-build
secrets: inherit
post-actions:
if: always()

View File

@ -152,7 +152,7 @@ jobs:
- name: Report result
uses: daeuniverse/ci-seed-jobs/common/report-check-run@master
if: always() && ${{ inputs.build-type == 'pr-build' }} && startsWith(github.event.pull_request.head.repo.full_name, github.repository_owner)
if: always() && inputs.build-type == 'pr-build' && startsWith(github.event.pull_request.head.repo.full_name, github.repository_owner)
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}