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

View file

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