-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 787 Bytes
/
Add_Submodule.yml
File metadata and controls
36 lines (33 loc) · 787 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
name: Add_Submodule
permissions:
contents: write
actions: write
on:
workflow_dispatch:
inputs:
label:
description: 'Repository Label'
required: true
default: ''
type: string
repo_name:
description: 'Repository Name'
required: true
default: ''
type: string
branch:
description: 'Default Branch'
required: true
default: 'main'
type: string
jobs:
add_submodule:
runs-on: ubuntu-latest
steps:
- name: add-submodule
uses: gendloop/add-submodule@v1.0.0
with:
label: ${{ inputs.label }}
repo_name: ${{ inputs.repo_name }}
branch: ${{ inputs.branch }}
token: ${{ secrets.GENDLOOP_ACCESS_TOKEN }}