Skip to content

Commit

Permalink
Disable vhs workflow when commit message contains [skip vhs]
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Jun 4, 2024
1 parent 45e78c9 commit f4b3f06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/vhs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: vhs
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- '*.tape'

Expand All @@ -12,6 +13,7 @@ env:

jobs:
vhs:
if: "! contains(github.event.head_commit.message, '[skip vhs]')"
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down

0 comments on commit f4b3f06

Please sign in to comment.