mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-01 12:23:01 +08:00
included permission checks with write
This commit is contained in:
parent
fa2b90d4bf
commit
bc71d74aea
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -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:
|
||||
|
||||
2
.github/workflows/unittest_backend.yml
vendored
2
.github/workflows/unittest_backend.yml
vendored
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user