included permission checks with write

This commit is contained in:
leehk 2025-04-21 10:28:28 +08:00
parent fa2b90d4bf
commit bc71d74aea
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@ concurrency:
jobs:
# This job defines the matrix and calls the reusable workflow for each image build
build:
needs: run_backend_tests
name: Build ${{ matrix.image_config.IMAGE_NAME }}
# Define necessary permissions if needed (e.g., for GitHub Packages)
permissions:

View File

@ -10,6 +10,8 @@ on:
jobs:
run_backend_tests:
name: Run Backend unit tests
permissions:
checks: write
uses: ./.github/workflows/template_unit_pytest.yml
# Pass parameters as inputs to the reusable workflow
with: