Skip to content

Commit 66ea783

Browse files
authored
Merge pull request #1155 from dnum-mi/tech/add-exception-to-linking-pr-to-issue-rule
ci: ajoute exception pour PR develop vers main
2 parents 3426b79 + ca0793b commit 66ea783

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/check-pr-linked-issue.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
check-linked-issue:
99
runs-on: ubuntu-latest
10+
# Exception : les PR de develop vers main n'ont pas besoin d'être liées à une issue
11+
if: github.head_ref != 'develop' || github.base_ref != 'main'
1012
steps:
1113
- name: Check if PR is linked to an issue
1214
uses: actions/github-script@v7

0 commit comments

Comments
 (0)