feat: renovate for Brew versions (#8)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: inffy <10782843+inffy@users.noreply.github.com>
This commit is contained in:
James Reilly 2026-03-31 10:14:14 +05:30 committed by GitHub
parent eddbb1a432
commit df2b153f29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 3 deletions

View file

@ -6,12 +6,12 @@
"regexManagers": [
{
"fileMatch": ["^Containerfile$"],
"fileMatch": ["^BREW_VERSION$"],
"matchStrings": [
"https://github\\.com/ublue-os/artwork/releases/download/bluefin-v(?<version>[0-9\\-]+)/bluefin-wallpapers\\.tar\\.zstd"
"^(?<currentValue>.*)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "ublue-os/artwork"
"depNameTemplate": "Homebrew/brew"
}
]
}

View file

@ -145,6 +145,12 @@ jobs:
id: date
run: echo "date=$(date -u +%Y\-%m\-%d\T%H\:%M\:%S\Z)" | tee "${GITHUB_OUTPUT}"
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Read Brew Version
id: brew_version
run: echo "version=$(cat BREW_VERSION)" >> $GITHUB_OUTPUT
- name: Image Metadata
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5
id: metadata
@ -153,6 +159,7 @@ jobs:
type=raw,value=${{ env.DEFAULT_TAG }}
type=raw,value=${{ env.DEFAULT_TAG }}.{{date 'YYYYMMDD'}}
type=raw,value={{date 'YYYYMMDD'}}
type=raw,value=${{ steps.brew_version.outputs.version }}
type=ref,event=pr
type=sha,enable=${{ github.event_name == 'pull_request' }}
labels: |

1
BREW_VERSION Normal file
View file

@ -0,0 +1 @@
5.0.8