CI: disable update-srcinfo on forks

This workflow is meant to generate a file that msys2-web consumes, and just generates meaningless errors on forks.  Forks can still trigger the workflow via workflow_dispatch, for developing/testing the workflow.
This commit is contained in:
jeremyd2019
2020-08-21 21:47:04 -07:00
committed by GitHub
parent 65274626a0
commit c06fff7cc0

View File

@@ -9,6 +9,7 @@ on:
jobs:
update-srcinfo:
runs-on: windows-latest
if: ${{ github.repository == 'msys2/MINGW-packages' || github.event_name == 'workflow_dispatch' }}
defaults:
run:
shell: msys2 {0}