File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Azure Terraforminator Action '
2
+ description : ' A GitHub Action that decommisions resource groups tagged with Temporay as TRUE'
3
+ author : ' githubofkrishnadhas'
4
+ # reference https://haya14busa.github.io/github-action-brandings/
5
+ branding :
6
+ icon : ' cloud-lightning'
7
+ color : ' green'
8
+ inputs :
9
+ subscription_name :
10
+ required : true
11
+ type : string
12
+ default : " "
13
+ description : " The azure subscription name."
14
+ runs :
15
+ using : ' composite'
16
+ steps :
17
+ - name : Install Python
18
+ uses : actions/setup-python@v5
19
+ with :
20
+ python-version : ' 3.11'
21
+ - name : package installations
22
+ run : |
23
+ pip install poetry
24
+ poetry install -v --no-root --no-interaction
25
+ - name : Run Python program
26
+ run : |
27
+ poetry run python3 terraforminator.py --subscription_name ${{ inputs.subscription_name }}
You can’t perform that action at this time.
0 commit comments