Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.
Release: retry the [release] PR lookup while GitHub links the merge
jesse-agent-3628351921d8a84
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex aede298..6502fe4 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -30,9 +30,17 @@ jobs:id: markerenv:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ # GitHub links a merge commit to its PR a few seconds after the push, and+ # this run often starts first: an empty answer means "not yet", so ask+ # again (6 tries, 10 s apart) until a merged PR into dev turns up.run: |- PUBLISH=$(gh api "repos/$GITHUB_REPOSITORY/commits/$GITHUB_SHA/pulls" --jq \- 'any(.[]; .base.ref == "dev" and .merged_at != null and (.title | ascii_downcase | contains("[release]")))')+ for try in 1 2 3 4 5 6; do+ PUBLISH=$(gh api "repos/$GITHUB_REPOSITORY/commits/$GITHUB_SHA/pulls" --jq \+ '[.[] | select(.base.ref == "dev" and .merged_at != null)]+ | if length == 0 then "" else any(.[]; .title | ascii_downcase | contains("[release]")) end') || PUBLISH=+ [ -n "$PUBLISH" ] && break+ [ "$try" -lt 6 ] && sleep 10+ doneif [ "$PUBLISH" != true ]; thenecho "::notice::No merged PR into dev with [release] in its title for ${GITHUB_SHA::7}; no alpha this time"PUBLISH=false