forked from TUM-I5/MolSim
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9da30f
commit 35d2a65
Showing
6 changed files
with
86 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
tests: | ||
- tests/**/* | ||
|
||
presentation: | ||
- sheet*/**/* | ||
|
||
dependencies: | ||
- libs/**/* | ||
|
||
repo: | ||
- .github/**/* | ||
- * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Check Submissions | ||
|
||
on: | ||
push: | ||
branches: | ||
- presentations | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
check-submission: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Checkout 'presentations' branch | ||
run: git checkout presentations | ||
|
||
# Check for all sheet[num] folders if they contain a submission folder | ||
# Each submission folder should contain atleast a `GroupC_Assignment[num].pdf` and `README.md` file | ||
- name: Check Submissions | ||
run: | | ||
for i in $(find . -type d -name "sheet*"); do | ||
if [ -d "$i/submission" ]; then | ||
if [ ! $(find $i/submission -type f -name "README.md" | wc -l) -eq 1 ]; then | ||
echo "Missing README.md in $i/submission" | ||
exit 1 | ||
fi | ||
if [ ! $(find $i/submission -type f -name "GroupC_Assignment*.pdf" | wc -l) -eq 1 ]; then | ||
echo "Missing GroupC_Assignment*.pdf in $i/submission" | ||
exit 1 | ||
fi | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Pull Request Labeler | ||
on: [pull_request_target] | ||
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
sync-labels: true |