ci: Allow other workflows to trigger linting (#2220)

This should resolve the issue of the lint workflow not being triggered by PRs opened via another workflow (`contributors.yml`).

This workflow will be triggered after the dependent workflow completes (regardless of status).
This commit is contained in:
Brennan Kinney 2021-09-28 11:49:22 +13:00 committed by GitHub
parent 88a1619dd5
commit cb6fbf3c58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,12 @@ on:
push: push:
branches: branches:
- master - master
# These workflows when done will trigger this workflow too:
workflow_run:
workflows: ['Update contributors']
types:
- completed
jobs: jobs:
lint: lint:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04