dependency-updates #3546
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: | |
branches: | |
- latest | |
schedule: | |
- cron: "0 */6 * * *" | |
workflow_dispatch: | |
jobs: | |
wolfssl-update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: update wolfssl version | |
id: update | |
run: | | |
WS_VERSION="$( | |
git ls-remote --tags https://github.com/wolfSSL/wolfssl v*.*.*-stable \ | |
| cut -d/ -f3 \ | |
| sort -V \ | |
| tail -1 | |
)" | |
sed -i "s|ARG WS_VERSION=.*|ARG WS_VERSION=$WS_VERSION|" Dockerfile | |
echo "version=$WS_VERSION" >> $GITHUB_OUTPUT | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
signoff: true | |
delete-branch: true | |
commit-message: update wolfssl version to ${{ steps.update.outputs.version }} | |
branch: update-wolfssl-version | |
title: update wolfssl version to ${{ steps.update.outputs.version }} | |
body: update wolfssl version to ${{ steps.update.outputs.version }} | |
nghttp3-update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: update nghttp3 version | |
id: update | |
run: | | |
NGH3_VERSION="$( | |
git ls-remote --tags https://github.com/ngtcp2/nghttp3 v*.*.* \ | |
| cut -d/ -f3 \ | |
| sort -V \ | |
| tail -1 \ | |
| sed "s|\^{}||g" | |
)" | |
sed -i "s|ARG NGH3_VERSION=.*|ARG NGH3_VERSION=$NGH3_VERSION|" Dockerfile | |
echo "version=$NGH3_VERSION" >> $GITHUB_OUTPUT | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
signoff: true | |
delete-branch: true | |
commit-message: update nghttp3 version to ${{ steps.update.outputs.version }} | |
branch: update-nghttp3-version | |
title: update nghttp3 version to ${{ steps.update.outputs.version }} | |
body: update nghttp3 version to ${{ steps.update.outputs.version }} | |
ngtcp2-update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: update ngtcp2 version | |
id: update | |
run: | | |
NGTCP2_VERSION="$( | |
git ls-remote --tags https://github.com/ngtcp2/ngtcp2 v*.*.* \ | |
| cut -d/ -f3 \ | |
| sort -V \ | |
| tail -1 \ | |
| sed "s|\^{}||g" | |
)" | |
sed -i "s|ARG NGTCP2_VERSION=.*|ARG NGTCP2_VERSION=$NGTCP2_VERSION|" Dockerfile | |
echo "version=$NGTCP2_VERSION" >> $GITHUB_OUTPUT | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
signoff: true | |
delete-branch: true | |
commit-message: update ngtcp2 version to ${{ steps.update.outputs.version }} | |
branch: update-ngtcp2-version | |
title: update ngtcp2 version to ${{ steps.update.outputs.version }} | |
body: update ngtcp2 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 "s|\^{}||g" | |
)" | |
sed -i "s|ARG CURL_VERSION=.*|ARG CURL_VERSION=$CURL_VERSION|" Dockerfile | |
echo "version=$CURL_VERSION" >> $GITHUB_OUTPUT | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
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 }} |