Skip to content

Commit

Permalink
REMOVE LATER
Browse files Browse the repository at this point in the history
  • Loading branch information
ko3n1g committed Apr 30, 2024
1 parent 20161c0 commit aebab6e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ jobs:
MERGE_BUMPED_MANIFEST: ${{ steps.manifest-branch.outputs.MERGE_BUMBED_MANIFEST }}
TEST_SUBSET: ${{ steps.testset.outputs.TEST_SUBSET }}
steps:
- name: Cancel workflow run if the trigger is a draft PR
id: cancel-if-draft
if: github.event_name == 'pull_request' && github.event.pull_request.draft == true
run: |
echo "Cancelling workflow for draft PR"
curl -X POST -H "Authorization: token ${{ github.token }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/cancel"
while true; do sleep 1; done # blocks execution in case workflow cancellation takes time
# - name: Cancel workflow run if the trigger is a draft PR
# id: cancel-if-draft
# if: github.event_name == 'pull_request' && github.event.pull_request.draft == true
# run: |
# echo "Cancelling workflow for draft PR"
# curl -X POST -H "Authorization: token ${{ github.token }}" \
# -H "Accept: application/vnd.github.v3+json" \
# "https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/cancel"
# while true; do sleep 1; done # blocks execution in case workflow cancellation takes time

- name: Set build date
id: date
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
id: testset
shell: bash -x -e {0}
run: |
TEST_SUBSET=${{ inputs.TEST_SUBSET || 'base' }}
TEST_SUBSET=${{ inputs.TEST_SUBSET || 'rosetta-pax' }}
echo "TEST_SUBSET=$TEST_SUBSET" | tee -a $GITHUB_OUTPUT
bump-manifest:
Expand Down

0 comments on commit aebab6e

Please sign in to comment.