[BuildImage] On Ubuntu, disable snap refresh during AMI build process to prevent background updates of SSM agent that could lead to reboot failures. #2348
Workflow file for this run
This file contains hidden or 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
| name: Unsafe Patterns Checker | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | |
| jobs: | |
| # Prevent bad URL suffix | |
| bad-url-suffix-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check PR for Disallowed URL Suffixes | |
| uses: francesco-giordano/[email protected] | |
| with: | |
| diffDoesNotContainRegex: "amazonaws\\.com|amazonaws\\.com\\.cn|c2s\\.ic\\.gov|sc2s\\.sgov\\.gov" | |
| skipLabels: skip-bad-url-suffix-check |