Skip to content

Commit

Permalink
ci: Skip timeline-check on draft PR (#2720)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaminyam authored Sep 4, 2024
1 parent c557c43 commit 9cf254c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/timeline-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ permissions:

jobs:
assign-pr-number:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:changelog') && !contains(fromJSON('["flow:merge-queue", "flow:hotfix"]'), github.event.label.name) && github.event.pull_request.number != null && github.event.pull_request.merged == false }}
if: |
!contains(github.event.pull_request.labels.*.name, 'skip:changelog')
&& !contains(fromJSON('["flow:merge-queue", "flow:hotfix"]'), github.event.label.name)
&& github.event.pull_request.number != null
&& github.event.pull_request.merged == false
&& github.event.pull_request.draft == false
uses: ./.github/workflows/assign-pr-number.yml
secrets:
WORKFLOW_PAT: ${{ secrets.OCTODOG }}
Expand Down

0 comments on commit 9cf254c

Please sign in to comment.