Fix workflow: Remove GitHub Actions that require Node.js
This commit is contained in:
@@ -11,16 +11,21 @@ jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global user.name 'LawGit Bot'
|
||||
git config --global user.email 'bot@git.coded.law'
|
||||
git config --global init.defaultBranch main
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # Vollständige Historie für Git-Operationen
|
||||
persist-credentials: true # Credentials für Push speichern
|
||||
run: |
|
||||
git clone --depth=0 https://git.coded.law/${{ github.repository }}.git .
|
||||
git remote set-url origin https://git.coded.law/${{ github.repository }}.git
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
run: |
|
||||
python3 --version
|
||||
python3 -m pip install --upgrade pip
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@@ -38,12 +43,6 @@ jobs:
|
||||
python3 xml_to_markdown.py --prod || echo "Konvertierung fehlgeschlagen oder keine Änderungen"
|
||||
continue-on-error: true
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global user.name 'LawGit Bot'
|
||||
git config --global user.email 'bot@git.coded.law'
|
||||
git config --global init.defaultBranch main
|
||||
|
||||
- name: Check for changes
|
||||
id: check_changes
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user