Skip to content

Commit a7d026e

Browse files
committed
fix: chore
1 parent 9aaf9db commit a7d026e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/setting.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ jobs:
124124
CUSTOM_BRANCH_POLICIES=$(jq -r ".\"${{ env.ENVIRONMENT_NAME }}\".deployment_branch_policy.custom_branch_policies" ${{ env.CONFIG_FILE }})
125125
126126
if [ "$CUSTOM_BRANCH_POLICIES" != true ]; then
127+
gh api -X DELETE "repos/${{ github.repository }}/environments/${{ env.ENVIRONMENT_NAME }}/deployment-branch-policies"
127128
exit 0
128129
fi
129130

0 commit comments

Comments
 (0)