Skip to content

Commit f98d650

Browse files
authored
Update merge-and-generate-problems.yml
1 parent 301ecaa commit f98d650

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/merge-and-generate-problems.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14+
- name: Check if the repository is from Live-Coding-Test
15+
run: |
16+
if [ "${{ github.repository_owner }}" != "Live-Coding-Test" ]; then
17+
echo "This workflow is only allowed to run in the main repository (Live-Coding-Test)."
18+
exit 0
19+
fi
20+
1421
- name: Checkout Repository
1522
uses: actions/checkout@v3
1623

0 commit comments

Comments
 (0)