79359399

Date: 2025-01-15 19:09:35
Score: 0.5
Natty:
Report link

Looks like I haven't understood that I cannot use reusable workflows in action step.

So I need to update my workflow to call the main workflow from the job level

jobs:
  check-if-there-are-commits:
    runs-on: ubuntu-latest
    outputs:
      alive: ${{ steps.check.outputs.alive }}
      alive2: ${{ steps.check.outputs.alive2 }}
      setup: ${{ steps.verify.outputs.setup }}
   ...


  run-main-build:
    needs: check-if-there-are-commits
    if: ${{ ( needs.check-if-there-are-commits.outputs.alive == 'true' || needs.check-if-there-are-commits.outputs.alive2 == 'true' ) && needs.check-if-there-are-commits.outputs.setup == 1 }}
    uses: ./.github/workflows/sfdxNightlyJob.yml
    with:
      alive: ${{ needs.check-if-there-are-commits.outputs.alive }}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Patlatus