summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/issue_reviver.yml
blob: f2d584ac01a86793f0bc0ec1fa99e3127e00f15a (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 or marked stale.
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 }}