Skip to content

Commit d3d5dd0

Browse files
authored
Merge branch 'main' into EC2-script-use-rest-call
2 parents 2c98f92 + 0084e85 commit d3d5dd0

File tree

5 files changed

+1427
-0
lines changed

5 files changed

+1427
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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/FSxN-Report/Generate-FSxN-Report.py'
11+
push:
12+
paths:
13+
- 'Management-Utilities/FSxN-Report/Generate-FSxN-Report.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/FSxN-Report
34+
run: ./update_fsxn_report_CF_template
35+
36+
- name: Commit the changes
37+
uses: stefanzweifel/git-auto-commit-action@v5

0 commit comments

Comments
 (0)