Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions .github/workflows/update_os_libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,27 +76,16 @@ jobs:
git status
git diff

- name: Check for changes
id: check-changes
run: |
if git diff --quiet; then
echo "No changes detected for ${{ matrix.extension }}"
echo "changed=false" >> $GITHUB_OUTPUT
else
echo "Changes detected for ${{ matrix.extension }}"
echo "changed=true" >> $GITHUB_OUTPUT
fi

- name: Create a PR if versions have been updated on main
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8
if: github.ref == 'refs/heads/main' && steps.check-changes.outputs.changed == 'true'
if: github.ref == 'refs/heads/main'
with:
token: ${{ secrets.REPO_GHA_PAT }}
title: "chore: update ${{ matrix.extension }} OS libraries"
body: "Updating the OS libraries of ${{ matrix.extension }}"
branch: "${{ matrix.extension }}-os-libraries"
author: "extension-os-libs-updater <extension-os-libs-updater@users.noreply.github.com>"
add-paths: |
${{ matrix.extension }}/**
${{ matrix.extension }}/system-libs/**
commit-message: "chore: update ${{ matrix.extension }} OS libraries"
signoff: true
Loading