Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/repository-safety-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Repository safety checks

on:
pull_request:
branches:
- master
push:
branches:
- master

permissions:
contents: read

jobs:
repo-safety-check:
name: repo-safety-check
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
persist-credentials: false

- name: Check README exists
run: test -f README.md

- name: Check for unresolved merge conflict markers
run: |
if grep -R -n -E '^(<<<<<<<|=======|>>>>>>>)' . --exclude-dir=.git; then
echo "Unresolved merge conflict marker found."
exit 1
fi
echo "No merge conflict markers found."
Loading