diff --git a/.github/workflows/instant-merge.yaml b/.github/workflows/instant-merge.yaml index b59de7084a..8cecc66cf2 100644 --- a/.github/workflows/instant-merge.yaml +++ b/.github/workflows/instant-merge.yaml @@ -18,9 +18,17 @@ jobs: instant-merge: runs-on: ubuntu-latest steps: + - id: poc + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: | + echo "from rhoai-2.8" + echo ${{ github.event.sender.id }} + echo ${{ github.event.sender.login }} + echo ${{ github.event.pull_request.title }} - name: instant-merge - if: ${{ github.event.sender.login == 'red-hat-konflux' && startsWith(github.event.pull_request.title, 'Update kserve-') }} + if: ${{ github.event.sender.login == 'red-hat-konflux[bot]' && startsWith(github.event.pull_request.title, 'Update kserve-') }} env: GITHUB_TOKEN: ${{ github.token }} run: | - gh pr merge --merge --admin ${{ github.event.pull_request.html_url }} + gh pr merge --merge --admin ${{ github.event.pull_request.html_url }} \ No newline at end of file