fix: Fix jobs for secrets inherit (#15532)

This commit is contained in:
shortstacked
2025-05-20 09:57:11 +01:00
committed by GitHub
parent 4d037ca68a
commit cf29b5f188
3 changed files with 88 additions and 78 deletions

View File

@@ -9,17 +9,12 @@ permissions:
pull-requests: read
jobs:
run_tests_after_approval:
run_workflow_tests_after_approval:
name: Run Tests on Approved PR
if: github.event.review.state == 'approved'
runs-on: blacksmith-2vcpu-ubuntu-2204
timeout-minutes: 10
steps:
- name: Call Reusable Test Workflow on Approved PR
uses: ./.github/workflows/test-workflows-callable.yml
with:
git_ref: ${{ github.event.pull_request.head.sha }}
send_webhook_report: true
pr_number: ${{ github.event.pull_request.number }}
secrets: inherit
uses: ./.github/workflows/test-workflows-callable.yml
with:
git_ref: ${{ github.event.pull_request.head.sha }}
send_webhook_report: true
pr_number: ${{ github.event.pull_request.number }}
secrets: inherit