From 2a74a4f56951c1e285656dadc63cdee31fba54db Mon Sep 17 00:00:00 2001 From: howardbaek Date: Thu, 7 Sep 2023 15:25:21 -0700 Subject: [PATCH] Syntax --- .github/workflows/check-url.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/check-url.yml b/.github/workflows/check-url.yml index 6986b2cb..7894ea80 100644 --- a/.github/workflows/check-url.yml +++ b/.github/workflows/check-url.yml @@ -6,7 +6,6 @@ on: - cron: '*/2 * * * *' jobs: - yaml-check: name: Load user automation choices runs-on: ubuntu-latest @@ -17,8 +16,6 @@ jobs: fetch-depth: 0 - name: Delete branch locally and remotely run: git push origin --delete preview-${{ github.event.pull_request.number }} || echo "No branch to delete" - - # Make the branch fresh - name: Make the branch fresh run: | git config --global --add safe.directory $GITHUB_WORKSPACE @@ -30,8 +27,7 @@ jobs: git checkout -b $branch_name || echo branch exists git push --set-upstream origin $branch_name shell: bash - - url-check: + url-check: name: Check URLs needs: yaml-check if: ${{needs.yaml-check.outputs.toggle_url_check == 'yes'}}