diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c01e90e..641fc58 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,9 @@ name: Experiment on: workflow_dispatch: - pull_request: - types: - - closed + push: + branches: + - 'main' paths: - 'identity-server-info.json' @@ -11,15 +11,15 @@ on: jobs: job1: name: Debug - if: github.event_name == 'workflow_dispatch' || - ( github.event.pull_request.merged == true && - github.event.pull_request.merged_by.login == 'AmshikaH' && - startsWith(github.head_ref, 'product-info-changes') ) runs-on: ubuntu-latest - + if: github.event_name == 'workflow_dispatch' || + ( github.event_name == 'push' && + github.triggering_actor == 'AmshikaH' && + github.event.commits[0].author.name == 'AmshikaH' ) steps: - name: List file run: | - echo "Running" - echo ${{ github.event.pull_request.title }} - echo ${{ github.head_ref }} + echo "${{ github.triggering_actor }}" + echo "${{ github.event_name }}" + echo "${{ github.event.sender.login }}" + echo "${{ github.event.commits[0].author.name }}" diff --git a/identity-server-info.json b/identity-server-info.json index a1c69b0..79cb146 100644 --- a/identity-server-info.json +++ b/identity-server-info.json @@ -1,6 +1,6 @@ { "dist_url": "https://wso2.org/jenkins/job/products/job/product-is/4827//artifact/modules/distribution/target/wso2is-7.0.0-alpha-SNAPSHOT.zip", - "image_tag": "7.0.0-alpha-1695110296-251df97c7ec886edb7b33c75bccebf9795e13endkenq2ndsdsenknd0", + "image_tag": "7.0.0-alpha-1695110296-251df97c7ec886edb7b33c75bccebf9795e13endkemkikmnq2kkndsend0", "release_version": "7.0.0-alpha-SNAPSHOT", "is_release_build": false }