File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ # Copyright (c) NetApp, Inc.
3+ # SPDX-License-Identifier: Apache-2.0
4+
5+ name : " Update Cloudformation Template"
6+
7+ on :
8+ pull_request :
9+ paths :
10+ - ' Management-Utilities/auto_set_fsxn_auto_grow/set_fsxn_volume_auto_grow.py'
11+ push :
12+ paths :
13+ - ' Management-Utilities/auto_set_fsxn_auto_grow/set_fsxn_volume_auto_grow.py'
14+ branches :
15+ - main
16+
17+ jobs :
18+ update-Cloudformation-Template :
19+ runs-on : ubuntu-latest
20+ permissions :
21+ # Give the default GITHUB_TOKEN write permission to commit and push the
22+ # added or changed files to the repository.
23+ contents : write
24+
25+ steps :
26+ - name : Checkout pull request
27+ uses : actions/checkout@v4
28+ with :
29+ ref : ${{ github.event.pull_request.head.ref }}
30+
31+ - name : Update the Cloudformation Template
32+ shell : bash
33+ working-directory : Management-Utilities/auto_set_fsxn_auto_grow
34+ run : ./update_auto_set_fsxn_auto_grow_CF_Template
35+
36+ - name : Commit the changes
37+ uses : stefanzweifel/git-auto-commit-action@v5
You can’t perform that action at this time.
0 commit comments