Skip to content

Nrf-sdk Update, Build and Test #53

Nrf-sdk Update, Build and Test

Nrf-sdk Update, Build and Test #53

Workflow file for this run

name: Nrf-sdk Update, Build and Test
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
build:
uses: ./.github/workflows/build.yml
secrets: inherit
with:
nrfsdk_sha_update: true
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 }}
pytest_marker: not slow
is_scheduled: false
update-pr-state:
needs: [build, test]
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Update PR state
run: |
PR_ID=$(gh pr list --repo ${{ github.repository }} | grep nrf-manifest-auto-branch | awk '{print $1}')
gh pr review $PR_ID --approve --repo ${{ github.repository }}
env:
GH_TOKEN: ${{ github.token }}