-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
structure.yaml
44 lines (44 loc) · 1.11 KB
/
structure.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
structure:
- README.md:
skip: true
content: |
# {{@ project_name @}}
This is a template repository.
- script.sh:
permissions: '0777'
content: |
#!/bin/bash
echo "Hello, {{@ author_name @}}!"
- LICENSE:
file: https://raw.githubusercontent.com/nishanths/license/master/LICENSE
- .github/workflows/ci.yml:
content: |
name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@{{@ "actions/checkout" | latest_release @}}
- name: Run a one-line script
run: echo Hello, world!
folders:
- .devops/modules/mod1:
struct: terraform-module
- .devops/modules/mod2:
struct: terraform-module
with:
module_name: mymod2
- ./:
struct:
- docker-files
- go-project
variables:
- project_name:
description: 'The name of the project.'
type: string
default: 'My Project'
- author_name:
description: 'The name of the author.'
type: string
default: 'Alice'