|
11 | 11 | jobs:
|
12 | 12 | call-manifest-pr-action:
|
13 | 13 | runs-on: ubuntu-latest
|
14 |
| - env: |
15 |
| - TARGET_BASE_BRANCH: ${{ github.event.pull_request.base.ref == 'v3.7.99-ncs1-branch' && 'v2.8-branch' || 'main' }} |
| 14 | + # env: |
| 15 | + # TARGET_BASE_BRANCH: ${{ github.event.pull_request.base.ref == 'v3.7.99-ncs1-branch' && 'v2.8-branch' || 'main' }} |
16 | 16 | # myjson: '{"v3.7.99-ncs1-branch" : "v2.8-branch", "v3.7.99-ncs1-branch": "v2.7-branch"}'
|
17 | 17 | steps:
|
18 | 18 | # - name: set TARGET_BASE_BRANCH
|
19 | 19 | # # run: echo "github.event.pull_request.base.ref=${{ github.event.pull_request.base.ref }}
|
20 | 20 | # run: echo "TARGET_BASE_BRANCH=${{ fromJSON(env.myjson)[env.var_foo] }}" >> $GITHUB_ENV
|
21 | 21 |
|
22 |
| - - name: read TARGET_BASE_BRANCH |
23 |
| - run: echo "TARGET_BASE_BRANCH=$TARGET_BASE_BRANCH" |
| 22 | + # - name: read TARGET_BASE_BRANCH |
| 23 | + # run: echo "TARGET_BASE_BRANCH=$TARGET_BASE_BRANCH" |
24 | 24 |
|
25 | 25 |
|
26 | 26 | # if: contains(['SNAPSHOT'],env.BUILD_VERSION)
|
27 | 27 | # run: echo '{{ github.event.pull_request.base.ref}}'
|
28 | 28 |
|
29 |
| - # - name: handle manifest PR |
30 |
| - # uses: thst-nordic/action-manifest-pr@add_release_branches |
31 |
| - # with: |
32 |
| - # token: ${{ secrets.NCS_GITHUB_TOKEN }} |
33 |
| - # manifest-pr-title-details: ${{ github.event.pull_request.title }} |
34 |
| - # target-repo: nrfconnect/sdk-nrf-testing |
35 |
| - # forked-repo: nordicbuilder/sdk-nrf-testing |
36 |
| - # base-branch: ${{ TARGET_BASE_BRANCH }} |
| 29 | + - name: handle manifest PR |
| 30 | + uses: thst-nordic/action-manifest-pr@add_release_branches |
| 31 | + with: |
| 32 | + token: ${{ secrets.NCS_GITHUB_TOKEN }} |
| 33 | + manifest-pr-title-details: ${{ github.event.pull_request.title }} |
| 34 | + target-repo: nrfconnect/sdk-nrf-testing |
| 35 | + forked-repo: nordicbuilder/sdk-nrf-testing |
| 36 | + base-branch: ${{ github.event.pull_request.base.ref == 'v3.7.99-ncs1-branch' && 'v2.8-branch' || 'main' }} |
0 commit comments