Skip to content

Commit

Permalink
New workflow: security-action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Jun 5, 2024
1 parent d1b8884 commit b626209
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/security-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: security
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [main, master, staging, development, devel, dev]
merge_group:
permissions:
contents: read
issues: write
pull-requests: write
jobs:
security:
name: security
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- uses: brave/security-action@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.HOTSPOTS_SLACK_TOKEN }}
gh_to_slack_user_map: ${{ secrets.GH_TO_SLACK_USER_MAP }}

0 comments on commit b626209

Please sign in to comment.