2020-09-24 17:21:00 -04:00
|
|
|
name: Check For Stale Repositories
|
|
|
|
on:
|
2020-10-11 15:03:33 -04:00
|
|
|
workflow_dispatch:
|
2020-09-24 17:21:00 -04:00
|
|
|
schedule:
|
2021-12-15 17:34:01 -05:00
|
|
|
- cron: '0 0 * * 0'
|
2020-09-24 17:21:00 -04:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Running test
|
|
|
|
runs-on: ubuntu-latest
|
2021-12-16 04:01:22 -05:00
|
|
|
container: golang:latest
|
2020-09-24 17:21:00 -04:00
|
|
|
steps:
|
2020-10-11 15:03:33 -04:00
|
|
|
- uses: actions/checkout@1.0.0
|
2020-10-05 04:59:38 -04:00
|
|
|
- name: Get dependencies
|
2021-12-16 03:57:52 -05:00
|
|
|
run: go get -v -t -d ./...
|
2020-10-05 04:59:38 -04:00
|
|
|
- name: run script
|
|
|
|
run: go run test_stale_repositories.go scripts.go
|
2021-12-15 17:34:01 -05:00
|
|
|
env:
|
|
|
|
OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}}
|