Improve dependency-update PR titles/links and exclude Helm chart PRs from release notes

- Nextcloud and watchtower dependency update PRs now include the
  new version in the title and a link to the corresponding
  upstream release notes in the PR body.
- Helm chart update PRs no longer carry the 'dependencies' label,
  so they are no longer grouped into the 'Updated dependencies'
  release notes section (they are a downstream packaging change,
  not an upstream dependency bump).

Fixes #8538

Signed-off-by: xhon-pelushi <xhon@pelushi.com>
This commit is contained in:
xhon-pelushi
2026-08-12 19:30:05 -04:00
parent da782248f1
commit e1e4b69bb7
3 changed files with 16 additions and 6 deletions
+7 -2
View File
@@ -13,6 +13,7 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run nextcloud-update script
id: nextcloud_update
run: |
# Inspired by https://github.com/nextcloud/docker/blob/master/update.sh
@@ -77,6 +78,7 @@ jobs:
if [ -n "$NCVERSION" ]; then
sed -i "s|^ENV NEXTCLOUD_VERSION.*|ENV NEXTCLOUD_VERSION=$NCVERSION|" ./Containers/nextcloud/Dockerfile
fi
echo "nc_version=$NCVERSION" >> "$GITHUB_OUTPUT"
- name: Create Pull Request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v7
@@ -84,8 +86,11 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: nextcloud-update automated change
signoff: true
title: Nextcloud dependency update
body: Automated Nextcloud container update
title: Nextcloud dependency update to ${{ steps.nextcloud_update.outputs.nc_version }}
body: |
Automated Nextcloud container update to version ${{ steps.nextcloud_update.outputs.nc_version }}.
See the [Nextcloud Server ${{ steps.nextcloud_update.outputs.nc_version }} release notes](https://github.com/nextcloud/server/releases/tag/v${{ steps.nextcloud_update.outputs.nc_version }}) for details.
labels: dependencies, 3. to review
milestone: next
branch: nextcloud-container-update
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
signoff: true
title: Helm Chart updates
body: Automated Helm Chart updates for the yaml files. It can be merged if it looks good at any time which will automatically trigger a new release of the helm chart.
labels: dependencies, 3. to review
labels: 3. to review
milestone: next
branch: aio-helm-update
token: ${{ secrets.GITHUB_TOKEN }}
+8 -3
View File
@@ -12,6 +12,7 @@ jobs:
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run watchtower-container-update
id: watchtower_update
run: |
# Watchtower
watchtower_version="$(
@@ -24,15 +25,19 @@ jobs:
watchtower_commit_hash="$(git ls-remote https://github.com/nicholas-fedor/watchtower $watchtower_version | sed 's/refs.*//')"
sed -i "s|^ENV WATCHTOWER_COMMIT_HASH.*$|ENV WATCHTOWER_COMMIT_HASH=$watchtower_commit_hash|" ./Containers/watchtower/Dockerfile
sed -i "s|\$WATCHTOWER_COMMIT_HASH.*$|\$WATCHTOWER_COMMIT_HASH # $watchtower_version|" ./Containers/watchtower/Dockerfile
echo "watchtower_version=$watchtower_version" >> "$GITHUB_OUTPUT"
- name: Create Pull Request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: watchtower-update automated change
signoff: true
title: watchtower container update
body: Automated watchtower container update
title: watchtower container update to ${{ steps.watchtower_update.outputs.watchtower_version }}
body: |
Automated watchtower container update to version ${{ steps.watchtower_update.outputs.watchtower_version }}.
See the [Watchtower ${{ steps.watchtower_update.outputs.watchtower_version }} release notes](https://github.com/nicholas-fedor/watchtower/releases/tag/${{ steps.watchtower_update.outputs.watchtower_version }}) for details.
labels: dependencies, 3. to review
milestone: next
branch: watchtower-container-update