Skip to content

Commit

Permalink
Actions: Run enterprise versions workflow only on the parent repo
Browse files Browse the repository at this point in the history
Don't run the cron workflow on forks, since they lack the necessary secrets.
  • Loading branch information
Aditya Sharad authored and GitHub committed May 26, 2021
1 parent eeaefb6 commit a55e7e1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a55e7e1

Please sign in to comment.