Skip to content

[develop] Add bad URL suffix pull request check #1

[develop] Add bad URL suffix pull request check

[develop] Add bad URL suffix pull request check #1

name: Unsafe Patterns Checker
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
jobs:
bad-url-suffix-check:
# Prevent bad URL suffix
name: Bad URL Suffix Check
runs-on: ubuntu-latest
steps:
- name: Check PR for Disallowed URL Suffixes
uses: francesco-giordano/gh-pr-content-checker@v1.0.0
with:
diffDoesNotContainRegex: "amazonaws\.com|amazonaws\.com\.cn|c2s\.ic\.gov|sc2s\.sgov\.gov"

Check failure on line 15 in .github/workflows/unsafe-patterns-checker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/unsafe-patterns-checker.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
skipLabels: skip-bad-url-suffix-check