Skip to content

Update gitea/gitea Docker tag to v1.21.3 #63

Update gitea/gitea Docker tag to v1.21.3

Update gitea/gitea Docker tag to v1.21.3 #63

---
name: Update chart version
on:
pull_request:
types:
- opened
- reopened
permissions: write-all
jobs:
increase-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- 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