mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-11 16:22:09 -04:00
distro: Remove PR tests
This commit is contained in:
38
.github/workflows/run-obs.yml
vendored
38
.github/workflows/run-obs.yml
vendored
@@ -315,40 +315,14 @@ jobs:
|
|||||||
echo "📋 Changed packages: $PKGS"
|
echo "📋 Changed packages: $PKGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Prepare PR body
|
- name: Commit packaging changes
|
||||||
if: steps.changed-packages.outputs.has_changes == 'true'
|
if: steps.changed-packages.outputs.has_changes == 'true'
|
||||||
id: pr-body
|
|
||||||
run: |
|
run: |
|
||||||
{
|
git config user.name "github-actions[bot]"
|
||||||
echo 'body<<EOF'
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
echo '🤖 Automated by GitHub Actions'
|
git add distro/debian/*/debian/changelog distro/opensuse/*.spec
|
||||||
echo ''
|
git commit -m "ci: Auto-update OBS packages [${{ steps.changed-packages.outputs.packages }}]" -m "🤖 Automated by GitHub Actions"
|
||||||
echo 'This PR updates packaging files for OBS packages:'
|
git push
|
||||||
echo "- **Packages**: ${{ steps.changed-packages.outputs.packages }}"
|
|
||||||
if [[ -n "${{ steps.packages.outputs.version }}" ]]; then
|
|
||||||
echo "- **Version**: ${{ steps.packages.outputs.version }}"
|
|
||||||
fi
|
|
||||||
echo ''
|
|
||||||
echo 'Please review and merge to update the packaging files.'
|
|
||||||
echo 'EOF'
|
|
||||||
} >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
|
||||||
if: steps.changed-packages.outputs.has_changes == 'true'
|
|
||||||
uses: peter-evans/create-pull-request@v7
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
commit-message: |
|
|
||||||
ci: Auto-update OBS packages [${{ steps.changed-packages.outputs.packages }}]
|
|
||||||
|
|
||||||
🤖 Automated by GitHub Actions
|
|
||||||
title: "ci: Auto-update OBS packages [${{ steps.changed-packages.outputs.packages }}]"
|
|
||||||
body: ${{ steps.pr-body.outputs.body }}
|
|
||||||
branch: ci/obs-package-update
|
|
||||||
delete-branch: true
|
|
||||||
labels: |
|
|
||||||
automated
|
|
||||||
ci
|
|
||||||
|
|
||||||
- name: Summary
|
- name: Summary
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
44
.github/workflows/run-ppa.yml
vendored
44
.github/workflows/run-ppa.yml
vendored
@@ -200,46 +200,14 @@ jobs:
|
|||||||
git diff --name-only distro/ubuntu/ | grep 'debian/changelog' || echo "No changelog files found"
|
git diff --name-only distro/ubuntu/ | grep 'debian/changelog' || echo "No changelog files found"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Debug - Show changes before PR
|
- name: Commit changelog changes
|
||||||
if: steps.changed-packages.outputs.has_changes == 'true'
|
if: steps.changed-packages.outputs.has_changes == 'true'
|
||||||
run: |
|
run: |
|
||||||
echo "📋 Checking git status:"
|
git config user.name "github-actions[bot]"
|
||||||
git status --short distro/ubuntu/ || true
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
echo ""
|
git add distro/ubuntu/*/debian/changelog
|
||||||
echo "📋 Checking git diff:"
|
git commit -m "ci: Auto-update PPA packages [${{ steps.changed-packages.outputs.packages }}]" -m "🤖 Automated by GitHub Actions"
|
||||||
git diff --stat distro/ubuntu/ || true
|
git push
|
||||||
|
|
||||||
- name: Prepare PR body
|
|
||||||
if: steps.changed-packages.outputs.has_changes == 'true'
|
|
||||||
id: pr-body
|
|
||||||
run: |
|
|
||||||
{
|
|
||||||
echo 'body<<EOF'
|
|
||||||
echo '🤖 Automated by GitHub Actions'
|
|
||||||
echo ''
|
|
||||||
echo 'This PR updates Debian changelog files for PPA packages:'
|
|
||||||
echo "- **Packages**: ${{ steps.changed-packages.outputs.packages }}"
|
|
||||||
echo ''
|
|
||||||
echo 'Please review and merge to update the changelog files.'
|
|
||||||
echo 'EOF'
|
|
||||||
} >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
|
||||||
if: steps.changed-packages.outputs.has_changes == 'true'
|
|
||||||
uses: peter-evans/create-pull-request@v7
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
commit-message: |
|
|
||||||
ci: Auto-update PPA packages [${{ steps.changed-packages.outputs.packages }}]
|
|
||||||
|
|
||||||
🤖 Automated by GitHub Actions
|
|
||||||
title: "ci: Auto-update PPA packages [${{ steps.changed-packages.outputs.packages }}]"
|
|
||||||
body: ${{ steps.pr-body.outputs.body }}
|
|
||||||
branch: ci/ppa-changelog-update
|
|
||||||
delete-branch: true
|
|
||||||
labels: |
|
|
||||||
automated
|
|
||||||
ci
|
|
||||||
|
|
||||||
- name: Summary
|
- name: Summary
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user