Skip to content

Commit

Permalink
Remove debug options
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic authored and kmabeeTT committed Jan 6, 2025
1 parent d3f5ad8 commit 0eb9ca8
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
push: #debug

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -17,16 +16,15 @@ jobs:
spdx:
uses: ./.github/workflows/spdx.yml
secrets: inherit
# build-and-test:
# uses: ./.github/workflows/build-and-test.yml
# secrets: inherit
build-and-test:
uses: ./.github/workflows/build-and-test.yml
secrets: inherit

# When a PR runs on the uplift branch trigger the downstream checks
downstream-checks:
runs-on: ubuntu-latest
# needs: build-and-test
needs: pre-commit # debug
# if: github.event.pull_request.head.ref == 'uplift'
needs: build-and-test
if: github.event.pull_request.head.ref == 'uplift'
strategy:
matrix:
include:
Expand All @@ -46,5 +44,5 @@ jobs:
--repo ${{ env.TARGET_REPO }} --ref main \
--field mlir_override=${{ github.event.pull_request.head.sha }}
gh run list --workflow=${{ env.WORKFLOW_NAME }} --repo ${{ env.TARGET_REPO }} --limit 1
echo "Triggered ${{ env.TARGET_REPO }}"
echo "### Triggered [${{ env.TARGET_REPO }}](https://github.com/${{ env.TARGET_REPO }}/actions/workflows/${{ env.WORKFLOW_NAME }}) :rocket:" >> $GITHUB_STEP_SUMMARY
echo "Triggered ${{ env.TARGET_REPO }} with tt-mlir ${{ github.event.pull_request.head.sha }}"
echo "### Triggered [${{ env.TARGET_REPO }}](https://github.com/${{ env.TARGET_REPO }}/actions/workflows/${{ env.WORKFLOW_NAME }}) with tt-mlir ${{ github.event.pull_request.head.sha }} :rocket:" >> $GITHUB_STEP_SUMMARY

0 comments on commit 0eb9ca8

Please sign in to comment.