Update fortify.yml #17
Workflow file for this run
This file contains 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: Insecure GitHub Action Workflow | |
on: | |
pull_request: | |
types: [opened, reopened] | |
env: | |
AWS_REGION: US_WEST_2 | |
AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE | |
AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | |
jobs: | |
Insecure-Job: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
# Log message when PR title starts with "security" | |
- name: Check PR title | |
run: | | |
title="${{ github.event.pull_request.title }}" | |
if [[ $title =~ ^security ]]; then | |
echo "PR title starts with 'security'" | |
fi |