CI: don't run badges job on forks (#25381)

* CI: don't run badges job on forks

* Apply suggestions from code review
This commit is contained in:
Adeeb Shihadeh
2022-08-07 16:01:42 -07:00
committed by GitHub
parent ef78641b6f
commit ec7a05c9a1
+2 -1
View File
@@ -17,7 +17,8 @@ env:
jobs:
badges:
name: create badges
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: github.repository == 'commaai/openpilot'
steps:
- uses: actions/checkout@v3
with: