Skip to content

Commit

Permalink
Revert push & delete by default don't run on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
emcfarlane committed Aug 20, 2024
1 parent 68932c9 commit ef87d13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ inputs:
pr_comment:
description: |-
Comment on the pull request with the results of each step. The workflow and job name combination must be unique.
Only runs on pull requests from non forked repositories.
Only runs on pull requests, for non forked repositories.
required: false
default: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}

Expand Down Expand Up @@ -118,7 +118,7 @@ inputs:
description: |-
Whether to run the push step. Runs by default on pushes, for non forked repositories.
required: false
default: ${{ github.event_name == 'push' && github.event.pull_request.head.repo.full_name == github.repository }}
default: ${{ github.event_name == 'push' }}
push_disable_create:
description: |-
Disables repository creation if it does not exist. Defaults to false.
Expand All @@ -129,7 +129,7 @@ inputs:
description: |-
Whether to run the archive step. Runs by default on deletes, for non forked repositories.
required: false
default: ${{ github.event_name == 'delete' && github.event.pull_request.head.repo.full_name == github.repository }}
default: ${{ github.event_name == 'delete' }}

outputs:
buf_version:
Expand Down

0 comments on commit ef87d13

Please sign in to comment.