-
-
Notifications
You must be signed in to change notification settings - Fork 79
34 lines (29 loc) · 894 Bytes
/
build_pull_request.yml
File metadata and controls
34 lines (29 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Daffodil Build PR
on:
pull_request_target:
branches:
- develop
permissions:
actions: read
attestations: read
checks: read
contents: read
deployments: read
id-token: none
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
security-events: read
statuses: read
jobs:
build:
name: ${{ github.event.pull_request.head.repo.full_name == github.repository && 'Build PR' || 'Build PR Fork' }}
uses: graycoreio/daffodil/.github/workflows/build.yml@develop
with:
cache-mode: 'read-only'
ref: ${{ github.event.pull_request.head.sha }}
secrets:
NX_KEY: ${{ secrets.NX_KEY }}
AZURE_STORAGE_CONNECTION_STRING: ${{ github.event.pull_request.head.repo.full_name == github.repository && secrets.AZURE_NX_CACHE_READWRITE_CONNECTION_STRING || secrets.AZURE_NX_CACHE_READONLY_CONNECTION_STRING }}