summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/issue_reviver.yml
blob: 3bd8830355aa27c1e73ea6fb5d72d83160ba456a (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="revive"
      if: github.repository == 'google/gvisor'
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        GITHUB_REPOSITORY: ${{ github.repository }}