File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ jobs:
6161 echo "::warning::Develop branch '${{ steps.targets.outputs.develop-branch }}' not found, skipping backtrack."
6262 fi
6363
64- - name : ' Lock develop branch'
65- id : lock -develop
64+ - name : ' Unlock develop branch'
65+ id : unlock -develop
6666 if : ${{ steps.check-develop.outputs.exists == 'true' }}
67- uses : ' ./.github/actions/github/branch-protection/lock '
67+ uses : ' ./.github/actions/github/branch-protection/unlock '
6868 with :
6969 branch : ${{ steps.targets.outputs.develop-branch }}
7070 token : ${{ secrets.GH_ADMIN_TOKEN }}
8585 git merge --no-ff origin/${{ steps.targets.outputs.merge-source }} -m "Backtrack: merge ${{ steps.targets.outputs.merge-source }} into ${{ steps.targets.outputs.develop-branch }}"
8686 git push origin ${{ steps.targets.outputs.develop-branch }}
8787
88- - name : ' Unlock develop branch'
89- if : ${{ always() && steps.lock -develop.outcome != 'skipped' }}
90- uses : ' ./.github/actions/github/branch-protection/unlock '
88+ - name : ' Lock develop branch'
89+ if : ${{ always() && steps.unlock -develop.outcome != 'skipped' }}
90+ uses : ' ./.github/actions/github/branch-protection/lock '
9191 with :
9292 branch : ${{ steps.targets.outputs.develop-branch }}
9393 token : ${{ secrets.GH_ADMIN_TOKEN }}
You can’t perform that action at this time.
0 commit comments