mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 23:42:51 -05:00
distro: Reformat workflow newlines
This commit is contained in:
9
.github/workflows/run-obs.yml
vendored
9
.github/workflows/run-obs.yml
vendored
@@ -338,7 +338,10 @@ jobs:
|
|||||||
uses: peter-evans/create-pull-request@v7
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: "ci: Auto-update OBS packages [${{ steps.changed-packages.outputs.packages }}]"
|
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 }}]"
|
title: "ci: Auto-update OBS packages [${{ steps.changed-packages.outputs.packages }}]"
|
||||||
body: ${{ steps.pr-body.outputs.body }}
|
body: ${{ steps.pr-body.outputs.body }}
|
||||||
branch: ci/obs-package-update
|
branch: ci/obs-package-update
|
||||||
@@ -346,9 +349,7 @@ jobs:
|
|||||||
labels: |
|
labels: |
|
||||||
automated
|
automated
|
||||||
ci
|
ci
|
||||||
path: |
|
path: distro/debian/ distro/opensuse/
|
||||||
distro/debian/
|
|
||||||
distro/opensuse/
|
|
||||||
|
|
||||||
- name: Summary
|
- name: Summary
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
20
.github/workflows/run-ppa.yml
vendored
20
.github/workflows/run-ppa.yml
vendored
@@ -192,12 +192,23 @@ jobs:
|
|||||||
echo "📋 No changelog changes to commit"
|
echo "📋 No changelog changes to commit"
|
||||||
else
|
else
|
||||||
echo "has_changes=true" >> $GITHUB_OUTPUT
|
echo "has_changes=true" >> $GITHUB_OUTPUT
|
||||||
# Get list of changed packages for commit message
|
# Get list of changed packages for commit message (deduplicate)
|
||||||
CHANGED=$(git diff --name-only distro/ubuntu/ | grep 'debian/changelog' | xargs dirname | xargs -I{} basename {} | tr '\n' ',' | sed 's/,$//')
|
CHANGED=$(git diff --name-only distro/ubuntu/ | grep 'debian/changelog' | xargs -I{} dirname {} | xargs -I{} basename {} | sort -u | tr '\n' ',' | sed 's/,$//')
|
||||||
echo "packages=$CHANGED" >> $GITHUB_OUTPUT
|
echo "packages=$CHANGED" >> $GITHUB_OUTPUT
|
||||||
echo "📋 Changed packages: $CHANGED"
|
echo "📋 Changed packages: $CHANGED"
|
||||||
|
echo "📋 Debug - Changed files:"
|
||||||
|
git diff --name-only distro/ubuntu/ | grep 'debian/changelog' || echo "No changelog files found"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Debug - Show changes before PR
|
||||||
|
if: steps.changed-packages.outputs.has_changes == 'true'
|
||||||
|
run: |
|
||||||
|
echo "📋 Checking git status:"
|
||||||
|
git status --short distro/ubuntu/ || true
|
||||||
|
echo ""
|
||||||
|
echo "📋 Checking git diff:"
|
||||||
|
git diff --stat distro/ubuntu/ || true
|
||||||
|
|
||||||
- name: Prepare PR body
|
- name: Prepare PR body
|
||||||
if: steps.changed-packages.outputs.has_changes == 'true'
|
if: steps.changed-packages.outputs.has_changes == 'true'
|
||||||
id: pr-body
|
id: pr-body
|
||||||
@@ -218,7 +229,10 @@ jobs:
|
|||||||
uses: peter-evans/create-pull-request@v7
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: "ci: Auto-update PPA packages [${{ steps.changed-packages.outputs.packages }}]"
|
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 }}]"
|
title: "ci: Auto-update PPA packages [${{ steps.changed-packages.outputs.packages }}]"
|
||||||
body: ${{ steps.pr-body.outputs.body }}
|
body: ${{ steps.pr-body.outputs.body }}
|
||||||
branch: ci/ppa-changelog-update
|
branch: ci/ppa-changelog-update
|
||||||
|
|||||||
Reference in New Issue
Block a user