From 128774f6cbe1f2b1cafc7d1022edde5d6861b780 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Date: Tue, 2 Jul 2024 15:10:44 +0200 Subject: [PATCH] chore: fix multiline string variable in workflow [skip ci] --- .github/workflows/upgrade-dependencies.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/upgrade-dependencies.yaml b/.github/workflows/upgrade-dependencies.yaml index ec8ffae..c9afd8b 100644 --- a/.github/workflows/upgrade-dependencies.yaml +++ b/.github/workflows/upgrade-dependencies.yaml @@ -17,6 +17,9 @@ jobs: run: yarn install - name: Run yarn outdated run: yarn outdated > outdated.txt + continue-on-error: true + # Took me way too much debugging to figure out: `yarn outdated` uses exit code 1 if outdated packages are present + # See also: https://github.com/yarnpkg/yarn/issues/7573 - name: Save the output from yarn outdated in a variable to reference in the PR body id: yarn # See: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings