dependency-updates #1731
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: dependency-updates | |
on: | |
push: | |
schedule: | |
- cron: "0 */6 * * *" | |
workflow_dispatch: | |
jobs: | |
quiche-update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: update quiche version | |
id: update | |
run: | | |
QUICHE_VERSION="$( | |
git ls-remote --tags https://github.com/cloudflare/quiche \ | |
| cut -d/ -f3 \ | |
| sort -V \ | |
| tail -1 \ | |
| sed -E "s/\^\{\}//" | |
)" | |
sed -i "s|ARG QUICHE_VERSION=.*|ARG QUICHE_VERSION=$QUICHE_VERSION|" Dockerfile | |
sed -i "s|ARG QUICHE_VERSION=.*|ARG QUICHE_VERSION=$QUICHE_VERSION \\\|" alpine.Dockerfile | |
sed -i "s|ARG QUICHE_VERSION=.*|ARG QUICHE_VERSION=$QUICHE_VERSION \\\|" debian.Dockerfile | |
echo "version=$QUICHE_VERSION" >> $GITHUB_OUTPUT | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
signoff: true | |
delete-branch: true | |
commit-message: update quiche version to ${{ steps.update.outputs.version }} | |
branch: update-quiche-version | |
title: update quiche version to ${{ steps.update.outputs.version }} | |
body: update quiche version to ${{ steps.update.outputs.version }} | |
curl-update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: update curl version | |
id: update | |
run: | | |
CURL_VERSION="$( | |
git ls-remote --tags https://github.com/curl/curl curl-*_*_* \ | |
| cut -d/ -f3 \ | |
| sort -V \ | |
| tail -1 \ | |
| sed -E "s/\^\{\}//" | |
)" | |
sed -i "s|ARG CURL_VERSION=.*|ARG CURL_VERSION=$CURL_VERSION|" Dockerfile | |
sed -i "s|ARG CURL_VERSION=.*|ARG CURL_VERSION=$CURL_VERSION \\\|" alpine.Dockerfile | |
sed -i "s|ARG CURL_VERSION=.*|ARG CURL_VERSION=$CURL_VERSION \\\|" debian.Dockerfile | |
echo "version=$CURL_VERSION" >> $GITHUB_OUTPUT | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
signoff: true | |
delete-branch: true | |
commit-message: update curl version to ${{ steps.update.outputs.version }} | |
branch: update-curl-version | |
title: update curl version to ${{ steps.update.outputs.version }} | |
body: update curl version to ${{ steps.update.outputs.version }} |