awesome-go/.github/workflows/run-check.yaml
Tony Kappen 00ccf89dd1
WIP: test stale repositories (#3210)
* fix typo in README.md

fixes #3204

* #1446 implement test for stale repositories

* fix #1446

* fixes #3211 added check if issue has not been previously opened

* fixes #3211 add limit to number of issues created at a time

* fixes #3211 reformat issue message

* checks for dead links as well

* fixes #3211 handle status code 302 and 301

* fixes #3211 handle status code 302 and 301

* fixes #3211 handle status code 302 and 301

* fixes #3211 test workflow

* fixes #3211 test workflow

* fixes #3211 test workflow again

* fixes #3211 test workflow again

* remove workflows and start over

* re add workflow

* apply review suggestions

* add environment variable. modify workflow to run once a week

* add check for archived repositories and reformat

* reformat code to improve readability

* reformat to improve readability

* cause continue and not break if href not found

* satisfy code climate requirements
2020-09-24 18:21:00 -03:00

16 lines
362 B
YAML

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:
- shell: bash
env:
OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}}
run: go get -t -v ./... && go run test_stale_repositories.go scripts.go