From ef87d13a7112fc98da174616a859c502aacfa493 Mon Sep 17 00:00:00 2001 From: Edward McFarlane Date: Tue, 20 Aug 2024 17:09:07 -0400 Subject: [PATCH] Revert push & delete by default don't run on forks --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 2592eb0..aac3a10 100644 --- a/action.yml +++ b/action.yml @@ -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 }} @@ -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. @@ -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: