-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (51 loc) · 1.97 KB
/
workflow-synchronization.yaml
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
46
47
48
49
50
51
52
53
54
55
56
name: workflow-synchronization
on:
workflow_dispatch:
push:
branches:
- main
- master
env:
REPOSITORIES: |
schubergphilis/terraform-aws-mcaf-account-baseline
schubergphilis/terraform-aws-mcaf-aurora
schubergphilis/terraform-aws-mcaf-avm
schubergphilis/terraform-aws-mcaf-budget
schubergphilis/terraform-aws-mcaf-cost-and-usage-reports
schubergphilis/terraform-aws-mcaf-datadog
schubergphilis/terraform-aws-mcaf-dynamodb
schubergphilis/terraform-aws-mcaf-ecr
schubergphilis/terraform-aws-mcaf-glue-connector
schubergphilis/terraform-aws-mcaf-lambda
schubergphilis/terraform-aws-mcaf-landing-zone
schubergphilis/terraform-aws-mcaf-network-firewall
schubergphilis/terraform-aws-mcaf-s3
schubergphilis/terraform-aws-mcaf-securityhub-findings-manager
schubergphilis/terraform-aws-mcaf-service-quotas-manager
schubergphilis/terraform-aws-mcaf-transit-gateway
schubergphilis/terraform-aws-mcaf-user
schubergphilis/terraform-aws-mcaf-workspace
schubergphilis/terraform-github-mcaf-repository
schubergphilis/terraform-gitlab-mcaf-group
schubergphilis/terraform-gitlab-mcaf-project
schubergphilis/terraform-tfe-mcaf-workspace
WORKFLOW_FILES: |
sync-root/.github/labels.yaml=.github/labels.yaml
sync-root/.github/release-drafter-config.yaml=.github/release-drafter-config.yaml
sync-root/.github/workflows=.github
sync-root/.pre-commit-config.yaml=.pre-commit-config.yaml
sync-root/CONTRIBUTING.md=CONTRIBUTING.md
sync-root/LICENSE=LICENSE
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Synchronize files
uses: varunsridharan/[email protected]
with:
REPOSITORIES: ${{ env.REPOSITORIES }}
WORKFLOW_FILES: ${{ env.WORKFLOW_FILES }}
COMMIT_MESSAGE: "[SYNC] mcaf-github-workflows"
GITHUB_TOKEN: ${{ secrets.MCAF_WORKFLOW_SYNCHRONIZATION }}