Skip to content

Commit

Permalink
Merge pull request #200 from red-hat-data-services/konflux28
Browse files Browse the repository at this point in the history
updating instant merger
  • Loading branch information
dchourasia authored Mar 18, 2024
2 parents 5db089b + 1c6e930 commit 1ec4782
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/instant-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 1ec4782

Please sign in to comment.