Skip to content

Parked check

Parked check #13

Workflow file for this run

name: Parked check
run-name: Parked check
on:
workflow_dispatch:
workflow_call:
inputs:
called:
type: boolean
default: true
schedule:
- cron: '0 1 * * *'
permissions:
contents: write
jobs:
parked-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
- name: parked.sh
run: bash parked.sh
- name: Push
run: |
git config user.email ${{ vars.GIT_EMAIL }}
git config user.name ${{ vars.GIT_USERNAME }}
git add .
git diff-index --quiet HEAD || git commit -m "Remove parked domains"
git push -q
build:
# Only trigger if not called from another workflow
if: ${{ ! inputs.called }}
needs: remove-parked

Check failure on line 38 in .github/workflows/parked.yml

View workflow run for this annotation

GitHub Actions / Parked check

Invalid workflow file

The workflow is not valid. .github/workflows/parked.yml (Line: 38, Col: 12): Job 'build' depends on unknown job 'remove-parked'.
uses: ./.github/workflows/build.yml