Skip to content

Commit

Permalink
change python EOF indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
msaipraneeth committed Dec 16, 2024
1 parent c97c826 commit 72ea2f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-plugin-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:

- name: Query PyPI and update package list
run: |
python - <<EOF
python <<EOF
import requests
from bs4 import BeautifulSoup
# Fetch the simple index page
url = "https://pypi.org/simple/"
response = requests.get(url)
response.raise_for_status()
# Extract packages starting with "cmem-plugin"
from bs4 import BeautifulSoup
soup = BeautifulSoup(response.text, 'html.parser')
plugins = [a.text for a in soup.find_all('a') if a.text.startswith("cmem-plugin")]
Expand All @@ -52,4 +52,3 @@ jobs:
git push
else
echo "No changes to commit"

0 comments on commit 72ea2f2

Please sign in to comment.