Skip to content

Commit

Permalink
Merge pull request #705 from open-craft/agrendalath/do-not-upgrade-re…
Browse files Browse the repository at this point in the history
…quirements-on-forks

build: do not run the upgrade action on forks
  • Loading branch information
Feanil Patel authored Jan 2, 2024
2 parents 14c3a6d + 51af7fb commit 5a95582
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Upgrade Python Requirements

on:
schedule:
# will start the job at 01:30 UTC every Friday
- cron: "0 0 * * 0"
workflow_dispatch:
inputs:
Expand All @@ -14,6 +13,8 @@ on:
jobs:
call-upgrade-python-requirements-workflow:
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
# Do not run on forks
if: github.repository_owner == 'openedx'
with:
branch: ${{ github.event.inputs.branch || 'master' }}
# optional parameters below; fill in if you'd like github or email notifications
Expand Down

0 comments on commit 5a95582

Please sign in to comment.