From 6032b61a005207bc39df8a9903f213df543d476a Mon Sep 17 00:00:00 2001 From: Andreas Koepf Date: Sat, 15 Feb 2025 23:26:22 +0100 Subject: [PATCH] Revert "Merge pull request #131 from zafstojano/chore/auto-generate-gallery" This reverts commit 95d86464f285c05de74b006ef1636ffd1ddd2d8b, reversing changes made to f7e928711e4e05c7e5247466aed05d7e2c75b4b2. --- .github/workflows/generate-gallery.yml | 45 -------------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/generate-gallery.yml diff --git a/.github/workflows/generate-gallery.yml b/.github/workflows/generate-gallery.yml deleted file mode 100644 index 3528067f..00000000 --- a/.github/workflows/generate-gallery.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Update GALLERY.md - -on: - pull_request: - branches: - - main - types: [closed] # Trigger only when the PR is closed - -permissions: - contents: write - -jobs: - update-gallery: - runs-on: ubuntu-latest - if: github.event.pull_request.merged == true # Ensure it was merged, not just closed - steps: - - name: Check out repository code - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.11" - - - name: Install dependencies - run: | - pip install -e . - - - name: Run gallery script - run: | - python scripts/generate_gallery.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 GALLERY.md - if [ -n "$(git status --porcelain)" ]; then - git commit -m "Update GALLERY.md [skip ci]" - git push - else - echo "No changes to commit." - fi