docs(nx-dev): add missing permissions to GH CI example (#21137)
This commit is contained in:
parent
1d2bfde11a
commit
78fe9546be
@ -15,6 +15,11 @@ on:
|
|||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
# Needed for nx-set-shas when run on the main branch
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -59,6 +64,11 @@ on:
|
|||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
# Needed for nx-set-shas when run on the main branch
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
name: Nx Cloud - Main Job
|
name: Nx Cloud - Main Job
|
||||||
@ -113,6 +123,11 @@ on:
|
|||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
# Needed for nx-set-shas when run on the main branch
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NX_CLOUD_DISTRIBUTED_EXECUTION: true # this enables DTE
|
NX_CLOUD_DISTRIBUTED_EXECUTION: true # this enables DTE
|
||||||
NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT: 3 # expected number of agents
|
NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT: 3 # expected number of agents
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user