Skip to content

Commit

Permalink
Merge pull request #555 from intersystems/v1-fix-ci-autotrigger
Browse files Browse the repository at this point in the history
V1 fix ci autotrigger
  • Loading branch information
isc-shuliu authored Aug 26, 2024
2 parents dcf5a85 + ff6962d commit 893bbbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/packages-summary.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
name: Summarize package test results
on:
workflow_call:
inputs:
runId:
type: number
required: true
description: "Id of the workflow run to summarize"
workflow_dispatch:
inputs:
runId:
type: number
required: true
description: "Id of the workflow run to summarize"
workflow_run:
workflows: ["Test major packages"]
types:
- completed

jobs:
summarize:
Expand All @@ -21,7 +13,7 @@ jobs:
steps:
- name: Donwload log zip
run: |
curl -L -o logs.zip "${{ env.BASE_URL }}/${{ inputs.runId }}/logs" -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}'
curl -L -o logs.zip "${{ env.BASE_URL }}/${{ github.event.workflow_run.id }}/logs" -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}'
- name: Unzip logs
run: |
unzip logs.zip -d /tmp/logs/
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,4 @@ jobs:
echo "::endgroup::"
done
IFS=' '
summarize:
needs:
- run-tests
runs-on: ubuntu-latest
steps:
- name: Call package-summary workflow
uses: ./.github/workflows/packages-summary.yml
with:
runId: ${{ github.run_id }}
IFS=' '

0 comments on commit 893bbbc

Please sign in to comment.