mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
.github/workflows: Do not run release protector on draft PRs (#46479)
This commit is contained in:
parent
d947d5813a
commit
0e954d341d
2
.github/workflows/release-protector.yml
vendored
2
.github/workflows/release-protector.yml
vendored
@ -17,7 +17,7 @@ on:
|
||||
jobs:
|
||||
protect-pr:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'sourcegraph/sourcegraph'
|
||||
if: ${{ github.repository == 'sourcegraph/sourcegraph' && !github.event.pull_request.draft }}
|
||||
steps:
|
||||
- name: Check date and labels
|
||||
id: check-date-and-labels
|
||||
|
||||
Loading…
Reference in New Issue
Block a user