Repository navigation
Make oscillators ns for nrf7120 sdk zephyr #12320
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: handle manifest PR | ||
|
Check warning on line 1 in .github/workflows/manifest-PR.yml
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, synchronize, closed, reopened] | ||
| branches: | ||
| - main | ||
| - ncs-v*-branch | ||
| permissions: | ||
| contents: read | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| call-manifest-pr-action: | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| base-branch: ${{ steps.set-base-branch.outputs.base_branch }} | ||
| steps: | ||
| # Determine the base branch: | ||
| # * sdk-zephyr/main -> sdk-nrf/main | ||
| # * sdk-zephyr/ncs-vX.Y-branch -> sdk-nrf/vX.Y-branch | ||
| - name: Set base branch | ||
| id: set-base-branch | ||
| run: | | ||
| if [[ "${{ github.event.pull_request.base.ref }}" == "main" ]]; then | ||
| echo "base_branch=main" >> "$GITHUB_OUTPUT" | ||
| elif [[ "${{ github.event.pull_request.base.ref }}" =~ ^ncs-(v[0-9]+\.[0-9]+-branch)$ ]]; then | ||
| branch_name="${{ github.event.pull_request.base.ref }}" | ||
| branch_name="${branch_name#ncs-}" | ||
| echo "base_branch=${branch_name}" >> "$GITHUB_OUTPUT" | ||
| else | ||
| echo "Error: Unsupported base branch: ${{ github.event.pull_request.base.ref }}" >&2 | ||
| exit 1 | ||
| fi | ||
| - name: handle manifest PR | ||
| uses: nrfconnect/action-manifest-pr@main | ||
| with: | ||
| token: ${{ secrets.NCS_GITHUB_TOKEN }} | ||
| manifest-pr-title-details: ${{ github.event.pull_request.title }} | ||
| base-branch: ${{ steps.set-base-branch.outputs.base_branch }} | ||