From d4975c79e9adfd0848b6f502a44f3d3b177149b9 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Wed, 6 Nov 2024 10:21:57 +0800 Subject: [PATCH] workflow/actionlint: fix upload job not being skipped properly An error is seen in one of my forks. --- .github/workflows/actionlint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 4012eec7..14648582 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -64,7 +64,7 @@ jobs: # This is only available on public repositories. if: > always() && - !contains(fromJSON('[["cancelled", "skipped"]]'), needs.workflow_syntax.result) && + !contains(fromJSON('["cancelled", "skipped"]'), needs.workflow_syntax.result) && !github.event.repository.private runs-on: ubuntu-latest permissions: