-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathunified-automation.yml
More file actions
36 lines (32 loc) · 942 Bytes
/
unified-automation.yml
File metadata and controls
36 lines (32 loc) · 942 Bytes
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
# file: examples/workflows/unified-automation.yml
# version: 1.0.0
# guid: 17be3eca-f785-4b0f-ae16-6dda1cf9051b
#
# Unified Automation Workflow Example
#
# This example shows how to invoke the unified automation orchestrator
# from ghcommon. Copy it to your repository's .github/workflows directory
# and customize the inputs as needed.
name: Unified Automation
permissions:
contents: write
issues: write
pull-requests: write
security-events: read
repository-projects: write
actions: read
checks: write
on:
workflow_dispatch:
inputs:
operation:
description: 'Which automation tasks to run'
required: false
type: string
default: 'all'
jobs:
automation:
uses: jdfalk/ghcommon/.github/workflows/reusable-unified-automation.yml@83352d45a93951d4e490a5c310e31858a52e29ce # v1.10.5-rc.2
with:
operation: ${{ github.event.inputs.operation || 'all' }}
secrets: inherit