Skip to content

Commit

Permalink
ci: use biolab-helper access token in cleanup workflow instead of the…
Browse files Browse the repository at this point in the history
… default one. Add lint workflow to cleanup process.
  • Loading branch information
JakaKokosar committed Mar 28, 2020
1 parent 87849a8 commit 98f2dae
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 98f2dae

Please sign in to comment.