-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use biolab-helper access token in cleanup workflow instead of the…
… default one. Add lint workflow to cleanup process.
- Loading branch information
1 parent
87849a8
commit 98f2dae
Showing
1 changed file
with
7 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |