mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 16:37:29 +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:
|
jobs:
|
||||||
# This job defines the matrix and calls the reusable workflow for each image build
|
# This job defines the matrix and calls the reusable workflow for each image build
|
||||||
build:
|
build:
|
||||||
|
needs: run_backend_tests
|
||||||
name: Build ${{ matrix.image_config.IMAGE_NAME }}
|
name: Build ${{ matrix.image_config.IMAGE_NAME }}
|
||||||
# Define necessary permissions if needed (e.g., for GitHub Packages)
|
# Define necessary permissions if needed (e.g., for GitHub Packages)
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
2
.github/workflows/unittest_backend.yml
vendored
2
.github/workflows/unittest_backend.yml
vendored
@ -10,6 +10,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
run_backend_tests:
|
run_backend_tests:
|
||||||
name: Run Backend unit tests
|
name: Run Backend unit tests
|
||||||
|
permissions:
|
||||||
|
checks: write
|
||||||
uses: ./.github/workflows/template_unit_pytest.yml
|
uses: ./.github/workflows/template_unit_pytest.yml
|
||||||
# Pass parameters as inputs to the reusable workflow
|
# Pass parameters as inputs to the reusable workflow
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user