diff options
author | Ian Lewis <ianlewis@google.com> | 2020-07-13 15:05:27 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-13 15:07:00 -0700 |
commit | 74df310ac09f9f27bc88a9b7eda0fa1659e499a4 (patch) | |
tree | 8abaecb3a14a48bb48fe564ebec680eb16d97442 /.github | |
parent | a287309d9ff0461842de1c487348c3032e5fdee4 (diff) |
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
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/issue_reviver.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/issue_reviver.yml b/.github/workflows/issue_reviver.yml index 5e0254111..e68e15270 100644 --- a/.github/workflows/issue_reviver.yml +++ b/.github/workflows/issue_reviver.yml @@ -4,11 +4,13 @@ on: - cron: '0 0 * * *' jobs: - label: + 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 }} |