Check For Stale Repositories #223
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check For Stale Repositories | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * 0' | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
build: | |
name: Running test | |
runs-on: ubuntu-latest | |
container: golang:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get dependencies | |
run: go get -v -t -d ./... | |
- name: run script | |
run: go test -v -run ^TestStaleRepository$ | |
env: | |
OAUTH_TOKEN: ${{secrets.OAUTH_TOKEN}} |