skills/deploy-to-azure

[Bug] Node version error, cannot complete step 4.

gitgithan opened this issue · 3 comments

267984735-b2358aaf-9827-4ea6-9f9c-5b473d73c99a

I used a workaround from #39 (comment), by adding

- uses: actions/setup-node@v3
       with: 
         node-version: 16

after both checkout actions.

However, since the step has already updated to 5, my new PR (with a commit adding node 16) will not get automatically squash merged by run: gh pr merge --squash staging-test because below check fails since now is step 5

    if: >-
     ${{ !github.event.repository.is_template
         && needs.get_current_step.outputs.current_step == 4 }}

The following will not run too. Not sure why this script wants to Merge main into each branch, since throughout the exercises, after run: gh pr merge --squash, only main branch is meaningful and the others are left hanging useless.

run: |
         chmod +x ./.github/script/initialize-repository.sh
         ./.github/script/initialize-repository.sh

Step 5 actions also cannot complete because of same issue

I have the same error when I do step 4. I don't know how to fix it.

Fixed by #59

Fixed by #59