From ef6dc5dcf9f023d388c228279878de3313817481 Mon Sep 17 00:00:00 2001 From: Kevin Yu <31861128+yqlbu@users.noreply.github.com> Date: Sun, 16 Jul 2023 14:00:27 +0800 Subject: [PATCH] ci/hotfix(build): inherit secret (#223) * ci/hotfix(build): inherit secret * fix: refine condition --- .github/workflows/build.yml | 1 + .github/workflows/seed-build.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6a46ee..7b2eebb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,6 +40,7 @@ jobs: with: ref: ${{ github.sha }} build-type: main-build + secrets: inherit post-actions: if: always() diff --git a/.github/workflows/seed-build.yml b/.github/workflows/seed-build.yml index cdc6d55..dec18a6 100644 --- a/.github/workflows/seed-build.yml +++ b/.github/workflows/seed-build.yml @@ -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 }}