name: Continuous integration

on:
  schedule:
    - cron: '0 0 * * *'

env:
  HAS_SECRETS: ${{ secrets.HAS_SECRETS }}

jobs:
  build:
    runs-on: ubuntu-20.04
    timeout-minutes: 25
    name: Continuous integration
    if: "!startsWith(github.event.head_commit.message, '[skip ci] ')"

    steps:
      - name: Delete old workflow runs
        uses: MajorScruffy/delete-old-workflow-runs@v0.3.0
        with:
          repository: mapfish/mapfish-print # replace this with your own repository
          older-than-seconds: 43200000
          #workflow: .github/workflows/main.yml
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

name: Delete old workflow runs

on:
  schedule:
    - cron: '0 * * * *'

env:
  HAS_SECRETS: ${{ secrets.HAS_SECRETS }}

jobs:
  build:
    runs-on: ubuntu-20.04
    timeout-minutes: 25
    name: Continuous integration
    if: "!startsWith(github.event.head_commit.message, '[skip ci] ')"

    steps:
      - name: Delete old workflow runs
        uses: MajorScruffy/delete-old-workflow-runs@v0.3.0
        with:
          repository: mapfish/mapfish-print # replace this with your own repository
          older-than-seconds: 43200000
          #workflow: .github/workflows/main.yml
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Fix workflow name, run every oures, consern Delete old workflow runs
Fix workflow name, run every oures, consern Delete old workflow runs
