Run lock workflow only in flutter/flutter. (#87601)

This is to prevent trying to run the workflow in forks.

Bug: https://github.com/flutter/flutter/issues/87573
This commit is contained in:
godofredoc 2021-08-03 17:55:21 -07:00 committed by GitHub
parent 169bb1b73f
commit 640c08dc80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ on:
jobs:
lock:
runs-on: ubuntu-latest
if: ${{ github.repository == 'flutter/flutter' }}
steps:
- uses: dessant/lock-threads@486f7380c15596f92b724e4260e4981c68d6bde6
with: