Skip to content

Create update-CloudformationTemplate.yml #1

Create update-CloudformationTemplate.yml

Create update-CloudformationTemplate.yml #1

---
# Copyright (c) NetApp, Inc.
# SPDX-License-Identifier: Apache-2.0
name: "Update Cloudformation Template"
on:
pull_request:
paths:
- 'Monitoring/monitor-ontap-services/monitor_ontap_services.py'
push:
paths:
- 'Monitoring/monitor-ontap-services/monitor_ontap_services.py'
branches:
- main
jobs:
update-Cloudformation-Template:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout pull request
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Update the Cloudformation Template
shell: bash

Check failure on line 32 in .github/workflows/update-CloudformationTemplate.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/update-CloudformationTemplate.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
working-directory: Monitoring/monitor-ontap-services
run: ./updateMonOntapServiceCFTemplate
- name: Commit the changes
uses: stefanzweifel/git-auto-commit-action@v5