Skip to content

Update interop-profile.swiyu-v0.json #11

Update interop-profile.swiyu-v0.json

Update interop-profile.swiyu-v0.json #11

Workflow file for this run

name: Generate Aggregated Data
on:
push:
branches: [ main ]
paths:
- 'profiles/**'
- 'schemas/**'
- 'src/crawler/**'
jobs:
crawl:
runs-on: ubuntu-latest
# Only run on main repository, not on forks
if: github.repository == 'FIDEScommunity/fides-interop-profiles'
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run crawler
run: npm run crawl
- name: Check for changes
id: git-check
run: |
git diff --exit-code data/aggregated.json || echo "changed=true" >> $GITHUB_OUTPUT
- name: Commit and push if changed
if: steps.git-check.outputs.changed == 'true'
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add data/aggregated.json
git commit -m "chore: update aggregated.json [skip ci]"
git push