This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-cli.git


The following commit(s) were added to refs/heads/main by this push:
     new 7e93ca0  fix contrib.yml
7e93ca0 is described below

commit 7e93ca0e8df24b82a03a33e286dbde448893a86d
Author: Michele Sciabarra <[email protected]>
AuthorDate: Sat Dec 14 21:24:27 2024 +0100

    fix contrib.yml
---
 .github/workflows/contrib.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/contrib.yml b/.github/workflows/contrib.yml
index dcf7910..47df00c 100644
--- a/.github/workflows/contrib.yml
+++ b/.github/workflows/contrib.yml
@@ -25,8 +25,8 @@ on:
       - "closed"
 
 jobs:
-  if: ${{ github.event.pull_request.merged }}
   share_version:
+    if: ${{ github.event.pull_request.merged }}
     runs-on: ubuntu-latest
     outputs:
       version: "${{ steps.get_version.outputs.version }}"
@@ -41,6 +41,7 @@ jobs:
           # Set the version as an output
           echo "::set-output name=version::$version"
   push_tag:
+    if: ${{ github.event.pull_request.merged }}
     runs-on: ubuntu-latest
     needs: read_version
     steps:

Reply via email to