summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/issue_reviver.yml
blob: a6a9b1b4fb5da3f5106e0d99b9fd587afc6020df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This workflow revives issues that are still referenced in the code, and may
# have been accidentally closed.
name: "Issue reviver"
"on":
  schedule:
    - cron: '0 0 * * *'

jobs:
  issue_reviver:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      if: github.repository == 'google/gvisor'
    - run: make run TARGETS="//tools/github" ARGS="-path=. revive"
      if: github.repository == 'google/gvisor'
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        GITHUB_REPOSITORY: ${{ github.repository }}