diff --git a/.github/workflows/nextcloud-update.yml b/.github/workflows/nextcloud-update.yml index 5c75812f..eed76039 100644 --- a/.github/workflows/nextcloud-update.yml +++ b/.github/workflows/nextcloud-update.yml @@ -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 diff --git a/.github/workflows/update-helm.yml b/.github/workflows/update-helm.yml index 97f6cdd8..2289fc73 100644 --- a/.github/workflows/update-helm.yml +++ b/.github/workflows/update-helm.yml @@ -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 }} diff --git a/.github/workflows/watchtower-update.yml b/.github/workflows/watchtower-update.yml index def3354b..3bd51867 100644 --- a/.github/workflows/watchtower-update.yml +++ b/.github/workflows/watchtower-update.yml @@ -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