Skip to content

Commit

Permalink
Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
howardbaek committed Sep 7, 2023
1 parent df75156 commit 2a74a4f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/check-url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- cron: '*/2 * * * *'

jobs:

yaml-check:
name: Load user automation choices
runs-on: ubuntu-latest
Expand All @@ -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
Expand All @@ -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'}}
Expand Down

0 comments on commit 2a74a4f

Please sign in to comment.