Skip to content

Commit

Permalink
Add spacing and indents
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Sep 20, 2023
1 parent 407e83d commit d60a9d8
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/check-url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ on:
- cron: '*/2 * * * *'

jobs:
yaml-check:
set-up:
name: Load user automation choices
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
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"

- name: Make the branch fresh
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
Expand All @@ -27,13 +29,15 @@ jobs:
git checkout -b $branch_name || echo branch exists
git push --set-upstream origin $branch_name
shell: bash

url-check:
name: Check URLs
needs: yaml-check
needs: set-up
if: ${{needs.yaml-check.outputs.toggle_url_check == 'yes'}}
uses: jhudsl/ottr-reports/.github/workflows/report-maker.yml@main
with:
check_type: urls
error_min: 0
gh_pat: secrets.GH_PAT

- name: Run the checks
uses: jhudsl/ottr-reports/.github/workflows/report-maker.yml@main
with:
check_type: urls
error_min: 0
gh_pat: secrets.GH_PAT

0 comments on commit d60a9d8

Please sign in to comment.