Fix 'Object has been destroyed' when FreeTube is passed a URL with no windows open on macOS #6918
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Merge PR | |
on: | |
pull_request_target: | |
types: [opened, synchronize, reopened, auto_merge_disabled, ready_for_review] | |
jobs: | |
build: | |
if: ${{ !github.event.pull_request.draft && (contains(github.event.pull_request.base.ref, 'development') || contains(github.event.pull_request.base.ref, 'RC')) }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Auto Merge PR | |
run: | | |
echo ${{ secrets.PUSH_TOKEN }} >> auth.txt | |
gh auth login --with-token < auth.txt | |
rm auth.txt | |
gh pr merge https://github.com/FreeTubeApp/FreeTube/pull/${{ github.event.pull_request.number }} --auto --squash |