Skip to content

Commit

Permalink
Drop _auto/bulk-update.py script (endoflife-date#4497)
Browse files Browse the repository at this point in the history
Bulk-updating products is now possible using endoflife-date/release-data#281.
  • Loading branch information
marcwrobel authored Jan 20, 2024
1 parent d69ba62 commit a6bef92
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 50 deletions.
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,3 @@ updates:
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
8 changes: 4 additions & 4 deletions .github/workflows/auto-merge-release-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ jobs:
run: pip install -r '_data/release-data/requirements.txt'

- id: latest
name: Update latest releases
name: Auto-update products
run: python '_data/release-data/latest.py' -p 'products/' -d '_data/release-data/releases'

- name: Update latest and latestReleaseDate
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: products/*
commit_message: "🤖: Update latest release data"
status_options: '--untracked-files=no'
commit_author: 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>'

- name: Enable auto-merge for Dependabot PRs for release data
if: ${{contains(steps.metadata.outputs.dependency-names, '_data/release-data')}}
- name: Create PR
if: ${{ contains(steps.metadata.outputs.dependency-names, '_data/release-data') }}
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
Expand Down
38 changes: 0 additions & 38 deletions _auto/bulk-update.py

This file was deleted.

3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

0 comments on commit a6bef92

Please sign in to comment.