Skip to content

Reset Destructive Manifests 🌀 #31

Reset Destructive Manifests 🌀

Reset Destructive Manifests 🌀 #31

name: Reset Destructive Manifests 🌀
# Trigger Events
on:
workflow_dispatch:
branches:
- main
- develop
# Jobs
jobs:
reset-destructive-manifests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: 'Install NPM Dependencies'
run: npm install
- name: 'Reset Manifests & Commit Changes'
run: |
# Set Git user info (required step)
git config --global user.name "${{github.actor}}"
# Invoke script that resets content of destructive manifests, commits changes & pushes them to remote branch
bash ./scripts/automations/reset_and_commit_destructive_manifests.sh