Run Mayhem4API only within organisation

The API key is not accessible outside.
This commit is contained in:
Maikel Linke
2022-05-05 10:07:36 +10:00
parent 5ff1c1c7c2
commit 2758f83a2a

View File

@@ -1,7 +1,8 @@
name: 'Mayhem for API'
on: [push, pull_request]
on: [push]
jobs:
test:
if: ${{ github.repository_owner == "openfoodfoundation" }}
runs-on: ubuntu-latest
strategy:
fail-fast: true