mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-09 01:31:46 +00:00
feat(workflows): skip pr workflows on draft prs
This commit is contained in:
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -10,6 +10,7 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.event.pull_request.draft == false
|
||||
name: Build YouTube Music
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
|
||||
1
.github/workflows/dependency-review.yml
vendored
1
.github/workflows/dependency-review.yml
vendored
@ -12,6 +12,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
dependency-review:
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Checkout Repository"
|
||||
|
||||
1
.github/workflows/pr-build-artifacts.yml
vendored
1
.github/workflows/pr-build-artifacts.yml
vendored
@ -9,6 +9,7 @@ env:
|
||||
|
||||
jobs:
|
||||
check-permissions:
|
||||
if: github.event.pull_request.draft == false
|
||||
name: Check if user has write access
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
|
||||
1
.github/workflows/reviewdog.yml
vendored
1
.github/workflows/reviewdog.yml
vendored
@ -7,6 +7,7 @@ env:
|
||||
|
||||
jobs:
|
||||
eslint:
|
||||
if: github.event.pull_request.draft == false
|
||||
name: runner / eslint
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user