workflows/check-dead-repos: Fix `if` expression 🤦

parent 46901cb1
......@@ -53,8 +53,8 @@ jobs:
id: check
run: fish .github/workflows/check-dead-repos.fish
- name: Comment success on PR
if: ${{ always() && (github.event.workflow_run.event != 'pull_request' &&
github.event.workflow_run.conclusion != 'success') }}
if: ${{ always() && (github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success') }}
uses: actions/github-script@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment