diff --git a/.github/workflows/cleanup_workflow.yml b/.github/workflows/cleanup_workflow.yml index 733637d8a73..b9c7e5bb0ae 100644 --- a/.github/workflows/cleanup_workflow.yml +++ b/.github/workflows/cleanup_workflow.yml @@ -1,3 +1,6 @@ +# This is a temporary solution until Github actions provide an official support for this. +# Workflow ids are located here: https://api.github.com/repos/biolab/orange3/actions/workflows + name: Cleanup workflow on: @@ -5,9 +8,6 @@ on: branches: - master -# This is a temporary solution until Github actions provide an official support for this. -# Workflow ids are located here: https://api.github.com/repos/biolab/orange3/actions/workflows - jobs: cancel: name: 'Cancel Previous Runs' @@ -15,26 +15,8 @@ jobs: timeout-minutes: 3 steps: - - name: Cleanup Linux workflow - uses: styfle/cancel-workflow-action@0.2.0 - with: - workflow_id: 685155 - access_token: ${{ secrets.GITHUB_TOKEN }} - - - name: Cleanup macOS workflow - uses: styfle/cancel-workflow-action@0.2.0 - with: - workflow_id: 685156 - access_token: ${{ secrets.GITHUB_TOKEN }} - - - name: Cleanup Windows workflow - uses: styfle/cancel-workflow-action@0.2.0 - with: - workflow_id: 685157 - access_token: ${{ secrets.GITHUB_TOKEN }} - - - name: Cleanup Documentation workflow - uses: styfle/cancel-workflow-action@0.2.0 + - name: Cleanup workflow + uses: styfle/cancel-workflow-action@0.3.1 with: - workflow_id: 685153 - access_token: ${{ secrets.GITHUB_TOKEN }} + workflow_id: 685155, 685156, 685157, 685153, 685154 + access_token: ${{ secrets.GH_ACCESS_TOKEN }}