This repository was archived by the owner on Jul 3, 2026. It is now read-only.
dependency-updates #5665
This file contains hidden or 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: dependency-updates | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| schedule: | |
| - cron: "0 */6 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| cloudflared-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.2 | |
| - name: update cloudflared version | |
| id: update | |
| run: | | |
| CLOUDFLARED_VERSION="$( | |
| git ls-remote --tags https://github.com/cloudflare/cloudflared \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | tail -1 \ | |
| | sed "s|\^{}||g" | |
| )" | |
| sed -i "s|ARG CLOUDFLARED_VERSION=.*|ARG CLOUDFLARED_VERSION=$CLOUDFLARED_VERSION|" ./Dockerfile | |
| echo "version=$CLOUDFLARED_VERSION" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update cloudflared version to ${{ steps.update.outputs.version }} | |
| branch: update-cloudflared-version | |
| title: update cloudflared version to ${{ steps.update.outputs.version }} | |
| body: update cloudflared version to ${{ steps.update.outputs.version }} |