-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 1.03 KB
/
qa_check_suns.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: QA
on:
push:
branches:
- master
pull_request:
branches:
- master
merge_group:
branches:
- master
jobs:
check_file_dir:
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') }}
name: "Check (poster/solgov/suns)"
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Check /obj/structure/sign/poster/solgov/suns
run: |
count=$(grep -i -r "/obj/structure/sign/poster/solgov/suns" . --exclude="qa_check_suns.yml" | wc -l)
if [ "$count" -gt 0 ]; then
echo "Error: Found occurrences of '/obj/structure/sign/poster/solgov/suns'"
echo ""
grep -i -r "/obj/structure/sign/poster/solgov/suns" . --exclude="check_suns.yml"
echo ""
echo "Replace with one of:"
echo " /obj/structure/sign/poster/contraband/free_tonto"
echo " /obj/structure/sign/poster/contraband/roseusfilm1"
exit 1
fi