Writing a good condition in GitHub workflows
Mar 4, 2025 · 3 min read · Conditions are used to control job or step execution and are defined by if YAML key like this: jobs: first-job: if: ${{ github.event_name == 'workflow_dispatch' }} #<---- conditions runs-on: ubuntu-latest steps: - name: Checkout ...
Join discussion
