Files
gvisor/.github/workflows/issue_reviver.yml
T
Ian Lewis 74df310ac0 Don't run issue reviver on forks.
Add a conditional to avoid running the issue reviver on forks. It will
always cause errors since bug references in the source code don't match
issue IDs in forked repos.

PiperOrigin-RevId: 321042060
2020-07-13 15:07:00 -07:00

17 lines
415 B
YAML

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/issue_reviver"
if: github.repository == "google/gvisor"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}