From cb6fbf3c5892f44dc3b10354e8c2f9d1e97aec43 Mon Sep 17 00:00:00 2001 From: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Date: Tue, 28 Sep 2021 11:49:22 +1300 Subject: [PATCH] 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). --- .github/workflows/linting.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 6fc50491..fddedf03 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -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