mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-02-01 03:35:03 -05:00
fix actions conditionals with missing quotes
This commit is contained in:
parent
0a2e0420da
commit
900cbfd759
2 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ jobs:
|
|||
run: ./lychee docs v7/docs --format markdown
|
||||
|
||||
- name: Update issue
|
||||
if: !cancelled()
|
||||
if: '!cancelled()'
|
||||
uses: https://github.com/peter-evans/create-issue-from-file@v5.0.0
|
||||
with:
|
||||
title: Dead links report
|
||||
|
|
|
@ -110,8 +110,8 @@ In a `workflow` file strings that look like `${{ ... }}` are evaluated by the `F
|
|||
|
||||
Can be used in `if:` conditionals on jobs and steps.
|
||||
|
||||
- `success()`. returns true when none of the previous jobs/steps have failed or been canceled.
|
||||
- `always()`. causes the job/step to always execute, and returns true, even when canceled. If you want to run a job/step regardless of its success or failure, use the recommended alternative: **!cancelled()**.
|
||||
- `success()`. returns true when none of the previous jobs/steps have failed or been cancelled.
|
||||
- `always()`. causes the job/step to always execute, and returns true, even when cancelled. If you want to run a job/step regardless of its success or failure, use the recommended alternative: `'!cancelled()'` (the expression must be enclosed by quotes to not be interpreted as YAML tag).
|
||||
- `failure()`. returns true when any previous step/job has failed.
|
||||
|
||||
### Functions
|
||||
|
|
Loading…
Add table
Reference in a new issue