Skip to content

Update gotify/server Docker tag to v2.5.0 #136

Update gotify/server Docker tag to v2.5.0

Update gotify/server Docker tag to v2.5.0 #136

---
name: Update chart version
on:
pull_request:
types:
- opened
- reopened
permissions: write-all
jobs:
increase-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Checkout PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr checkout ${{ github.event.pull_request.number }}
- uses: actions/setup-go@v5
with:
go-version: '>=1.17.0'
- name: Get changed files in the charts folder
id: changed-files-specific
uses: tj-actions/changed-files@v40
with:
files: charts/**
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run update for any chart concerned by the commit
if: steps.changed-files-specific.outputs.any_changed == 'true'
run: |
cd hack/ && go run update_after_renovate.go ${{ steps.changed-files-specific.outputs.all_changed_files }}
- name: Commit modifications
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: steps.changed-files-specific.outputs.any_changed == 'true'
run: |
git commit -a -m "[AUTO] Update chart version"
git push