Actions: Run enterprise versions workflow only on the parent repo

Don't run the cron workflow on forks, since they lack the necessary secrets.
This commit is contained in:
Aditya Sharad 2021-05-25 17:48:14 -07:00 committed by GitHub
parent eeaefb6054
commit a55e7e1f67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@ on:
jobs:
update-supported-enterprise-server-versions:
runs-on: ubuntu-latest
if: ${{ github.repository == 'github/codeql-action' }}
steps:
- name: Setup Python