Skip to content

Commit

Permalink
Add CI check for SUNS poster
Browse files Browse the repository at this point in the history
  • Loading branch information
blinkdog committed Jul 10, 2024
1 parent 7043d36 commit 3788dff
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/check_suns.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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: |
output=$(fgrep -i -r "/obj/structure/sign/poster/solgov/suns" .)
if [ -n "$output" ]; then
echo "Error: Found occurrences of '/obj/structure/sign/poster/solgov/suns'"
echo "Replace with one of:"
echo " /obj/structure/sign/poster/contraband/free_tonto"
echo " /obj/structure/sign/poster/contraband/roseusfilm1"
exit 1
fi

0 comments on commit 3788dff

Please sign in to comment.