We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6c8a98 commit cea2b62Copy full SHA for cea2b62
.github/workflows/tinybird-ci.yml
@@ -223,3 +223,10 @@ jobs:
223
echo "Config file not found at '${CONFIG_FILE}', running with default values"
224
${BASE_CMD} coverage --wait ${LABELS_CMD}
225
fi
226
+
227
+ - name: Cleanup test Branch
228
+ if: always()
229
+ run: |
230
+ BRANCH_NAME="tmp_ci_${_NORMALIZED_BRANCH_NAME}_${{ github.event.pull_request.number }}"
231
+ echo "Attempting to delete branch: $BRANCH_NAME"
232
+ tb --host ${{ secrets.TB_HOST }} --token ${{ secrets.TB_ADMIN_TOKEN }} branch rm $BRANCH_NAME --yes || echo "Branch deletion failed or branch may not exist."
0 commit comments