name: Maintain Runners

on:
  workflow_dispatch:

jobs:

  fake:
    runs-on: small
    name: Source changes
    if: ${{ github.repository_owner == 'Armbian' }}
    steps:
      - run: |
          echo "not empty" > changes
      - uses: actions/upload-artifact@v2
        with:
          path: changes
          name: changes
          if-no-files-found: ignore

  Bump:
    needs: [ fake ]
    if: github.repository_owner == 'Armbian'
    uses: armbian/scripts/.github/workflows/maintain-runners.yml@master
    
    with:
      checking: true
      
    secrets:
      KEY_TORRENTS: ${{ secrets.KEY_TORRENTS }}
      KNOWN_HOSTS_UPLOAD: ${{ secrets.KNOWN_HOSTS_UPLOAD }}
