Skip to content

Commit 3433cd2

Browse files
authored
ci: do not create automated PRs on forked repos, second attempt (#749)
1 parent e2f0d17 commit 3433cd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
dev-to-master-pr:
1111
name: Create or Update PR from Dev to Master
12-
if: github.ref == 'refs/heads/dev' && github.event.repository.full_name == github.repository
12+
if: github.ref == 'refs/heads/dev' && github.repository == 'HyDE-Project/HyDE'
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
@@ -141,7 +141,7 @@ jobs:
141141
142142
release:
143143
name: release
144-
if: github.ref == 'refs/heads/master' && github.event.repository.full_name == github.repository
144+
if: github.ref == 'refs/heads/master' && github.repository == 'HyDE-Project/HyDE'
145145
runs-on: ubuntu-latest
146146
steps:
147147
- uses: googleapis/release-please-action@v3

0 commit comments

Comments
 (0)