Skip to content

Commit

Permalink
Merge pull request #4590 from biolab/gh_cleanup_workflow
Browse files Browse the repository at this point in the history
[FIX] Use new access token in cleanup workflow
  • Loading branch information
markotoplak authored Mar 29, 2020
2 parents 87849a8 + 98f2dae commit e0f241b
Showing 1 changed file with 7 additions and 25 deletions.
32 changes: 7 additions & 25 deletions .github/workflows/cleanup_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,22 @@
# 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:
pull_request:
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'
runs-on: ubuntu-latest
timeout-minutes: 3

steps:
- name: Cleanup Linux workflow
uses: styfle/[email protected]
with:
workflow_id: 685155
access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Cleanup macOS workflow
uses: styfle/[email protected]
with:
workflow_id: 685156
access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Cleanup Windows workflow
uses: styfle/[email protected]
with:
workflow_id: 685157
access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Cleanup Documentation workflow
uses: styfle/[email protected]
- name: Cleanup workflow
uses: styfle/[email protected]
with:
workflow_id: 685153
access_token: ${{ secrets.GITHUB_TOKEN }}
workflow_id: 685155, 685156, 685157, 685153, 685154
access_token: ${{ secrets.GH_ACCESS_TOKEN }}

0 comments on commit e0f241b

Please sign in to comment.