Skip to content

NEW: ExtremeCloud IQ #5

NEW: ExtremeCloud IQ

NEW: ExtremeCloud IQ #5

Workflow file for this run

name: Update integrations JSON when relevant files change
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- '**/*.json'
- '**/*.star'
- '!docs/**'
jobs:
update-integration-json:
runs-on: ubuntu-latest
steps:
- name: Checkout PR branch
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Run integration update script
run: python scripts/generate_integration_json.py
- name: Commit and push changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git diff --cached --quiet || git commit -m "Auto: update integrations JSON and README"
git push