зеркало из https://github.com/Azure/ALZ-Bicep.git
Update permissions at top level and add environment
This commit is contained in:
Родитель
1618d0f490
Коммит
930011ff5a
|
@ -11,6 +11,9 @@ on:
|
|||
- "**/bicepconfig.json"
|
||||
workflow_dispatch: {}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
bicep_unit_tests:
|
||||
name: Bicep Build & Lint All Modules
|
||||
|
|
|
@ -6,6 +6,9 @@ on:
|
|||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
alert:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -27,6 +27,7 @@ jobs:
|
|||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
environment: BicepUpdateDocumentation
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
|
||||
|
|
|
@ -6,6 +6,9 @@ on:
|
|||
- main
|
||||
workflow_dispatch: {}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
release-tests:
|
||||
name: Pre-Release Tests
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
name: Unit Tests - Scheduled Bicep Build
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 8 * * 1-5"
|
||||
workflow_dispatch: {}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
bicep_unit_tests:
|
||||
name: Bicep Build & Lint All Modules
|
||||
|
|
Загрузка…
Ссылка в новой задаче