Skip to content

Commit

Permalink
dont run roberto workflow on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vdb committed Oct 6, 2023
1 parent fcefb7b commit 02eeb88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/automatic-release-to-main-merger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
runs-on: ubuntu-22.04

# only run this workflow if a pull request has been merged
if: github.event.pull_request.merged == true
# don't run this workflow on pull request from forks, permissions will be missing anyway
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflows-in-forked-repositories
if: github.event.pull_request.merged == true && github.event.pull_request.head.repo.full_name == 'RasaHQ/rasa'

steps:
- name: Checkout git repository 馃暆
Expand Down

0 comments on commit 02eeb88

Please sign in to comment.