-
Notifications
You must be signed in to change notification settings - Fork 36
48 lines (45 loc) · 1.1 KB
/
ncsref-update.yaml
File metadata and controls
48 lines (45 loc) · 1.1 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Nrf-sdk Update, Build and Test
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
build:
permissions:
contents: write
pull-requests: write
uses: ./.github/workflows/build.yml
secrets: inherit
with:
nrfsdk_sha_update: true
build_type: all
test:
permissions:
actions: read
contents: write
packages: read
uses: ./.github/workflows/target-test.yml
needs: build
secrets: inherit
with:
artifact_fw_version: ${{ needs.build.outputs.version }}
artifact_run_id: ${{ needs.build.outputs.run_id }}
devices: thingy91x
run_nightly_tests: true
update-pr-state:
needs: [build, test]
runs-on: ubuntu-latest
permissions:
actions: read
contents: write
packages: read
pull-requests: write
steps:
- name: Update PR state
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ needs.build.outputs.ncsupdate_pr }}
body: |
Tests PASSED on latest ncs SHA :white_check_mark: