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

parent 46901cb1
...@@ -53,8 +53,8 @@ jobs: ...@@ -53,8 +53,8 @@ jobs:
id: check id: check
run: fish .github/workflows/check-dead-repos.fish run: fish .github/workflows/check-dead-repos.fish
- name: Comment success on PR - name: Comment success on PR
if: ${{ always() && (github.event.workflow_run.event != 'pull_request' && if: ${{ always() && (github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion != 'success') }} github.event.workflow_run.conclusion == 'success') }}
uses: actions/github-script@v3 uses: actions/github-script@v3
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} 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