-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (39 loc) · 1.04 KB
/
security.yml
File metadata and controls
45 lines (39 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: 🔒 Security Management
on:
push:
branches: [main]
paths:
- "docs/SECURITY.template.MD"
pull_request:
branches: [main]
paths:
- "docs/SECURITY.template.MD"
workflow_dispatch:
inputs:
force-update:
description: "Force security policy update even without changes"
type: boolean
default: false
workflow_call:
inputs:
tag-name:
description: "Tag name that triggered the security policy update"
type: string
required: false
default: ""
force-update:
description: "Force security policy update even without changes"
type: boolean
required: false
default: false
permissions:
contents: write
pull-requests: write
jobs:
security-management:
name: Security Management
uses: bauer-group/automation-templates/.github/workflows/security-management.yml@main
with:
tag-name: ${{ inputs.tag-name || github.ref_name }}
force-update: ${{ inputs.force-update || false }}
secrets: inherit