Update joplin/server Docker tag to v2.14 #60
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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@v4 | |
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 |