Skip to content

Instantly share code, notes, and snippets.

@EmranAhmed
Created October 24, 2024 09:01
Show Gist options
  • Save EmranAhmed/3634fabf10a5d24e241ed03e67ca6454 to your computer and use it in GitHub Desktop.
Save EmranAhmed/3634fabf10a5d24e241ed03e67ca6454 to your computer and use it in GitHub Desktop.

Revisions

  1. EmranAhmed created this gist Oct 24, 2024.
    16 changes: 16 additions & 0 deletions example.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    # Example One.
    ```yml
    jobs:
    build:
    name: Build ${{ matrix.os }} - Bash
    runs-on: ${{ matrix.os }}
    if: ${{ !contains(github.event.head_commit.message, '#docs') }}
    ```
    # Example Two.
    ```yml
    jobs:
    format:
    runs-on: ubuntu-latest
    if: "! contains(github.event.head_commit.message, 'wip')"
    ```