diff --git a/.github/workflows/rerun.yml b/.github/workflows/rerun.yml index 16d42c599a..abf514a3c6 100644 --- a/.github/workflows/rerun.yml +++ b/.github/workflows/rerun.yml @@ -75,9 +75,6 @@ jobs: id: build-test timeout-minutes: 30 shell: bash - env: - URL: ${{ github.event.issue.comments_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: python3 ./source/scripts/run-ci.py -B build --name ${{ github.repository }}-${{ github.ref_name }}-${{ matrix.os }}${{ matrix.name-tag }} @@ -179,12 +176,7 @@ jobs: id: build-test timeout-minutes: 30 shell: bash - env: - URL: ${{ github.event.issue.comments_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - curl -X POST $URL -H "Content-Type: application/json" - -H "Authorization: token $GITHUB_TOKEN" --data '{ "body": "Rerun Started!" }'; + run: python3 ./source/scripts/run-ci.py -B build --name ${{ github.repository }}-${{ github.ref_name }}-${{ matrix.os }}${{ matrix.name-tag }} --build-jobs 16 @@ -285,12 +277,7 @@ jobs: id: build-test timeout-minutes: 30 shell: bash - env: - URL: ${{ github.event.issue.comments_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - curl -X POST $URL -H "Content-Type: application/json" - -H "Authorization: token $GITHUB_TOKEN" --data '{ "body": "Rerun Started!" }'; + run: python3 ./source/scripts/run-ci.py -B build --name ${{ github.repository }}-${{ github.ref_name }}-${{ matrix.os }}${{ matrix.name-tag }} --build-jobs 16 @@ -391,12 +378,7 @@ jobs: id: build-test timeout-minutes: 30 shell: bash - env: - URL: ${{ github.event.issue.comments_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - curl -X POST $URL -H "Content-Type: application/json" - -H "Authorization: token $GITHUB_TOKEN" --data '{ "body": "Rerun Started!" }'; + run: python3 ./source/scripts/run-ci.py -B build --name ${{ github.repository }}-${{ github.ref_name }}-${{ matrix.os }}${{ matrix.name-tag }} --build-jobs 16 @@ -497,12 +479,7 @@ jobs: id: build-test timeout-minutes: 30 shell: bash - env: - URL: ${{ github.event.issue.comments_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - curl -X POST $URL -H "Content-Type: application/json" - -H "Authorization: token $GITHUB_TOKEN" --data '{ "body": "Rerun Started!" }'; + run: python3 ./source/scripts/run-ci.py -B build --name ${{ github.repository }}-${{ github.ref_name }}-${{ matrix.os }}${{ matrix.name-tag }} --build-jobs 16