Do not run specialized workflow on forks

This commit is contained in:
sagudev 2023-02-24 17:46:21 +01:00
parent 1208fd298d
commit 4a7075b0db
5 changed files with 18 additions and 0 deletions

View file

@ -7,6 +7,8 @@ on:
jobs:
upload-docs:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload docs to GitHub Pages
runs-on: ubuntu-20.04
steps: