name: Check For Stale Repositories on: schedule: - cron: '0 0 * * 0' jobs: build: name: Running test runs-on: ubuntu-latest strategy: matrix: go: ['1.15.x'] steps: - name: Get dependencies run: | go get -v -t -d ./... - name: run script run: go run test_stale_repositories.go scripts.go env: GITHUB_OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}}