Closed
Description
Description
Jobs with an if: always()
statement that depends on a skipped one are also skipped.
on:
push:
branches:
- master
jobs:
job1:
name: Skipped job
if: false
steps:
- run: echo "I am skipped"
job2:
name: Mustn't be skipped
needs: job1
if: always()
steps:
- run: echo "I should have been displayed :'("
This makes intermediate optional job impossible
Gitea Version
1.21.0+rc2
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
ubuntu
How are you running Gitea?
container from docker hub on linux
Database
SQLite