dependency-updates #9894
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 */3 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| aws-lc-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update aws-lc version | |
| id: update | |
| run: | | |
| AWSLC_VER="$( | |
| git ls-remote --tags --refs https://github.com/aws/aws-lc \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| AWSLC_SHA="$(git ls-remote https://github.com/aws/aws-lc "$AWSLC_VER" | cut -f1)" | |
| sed -i "s|ARG AWSLC_VER=.*|ARG AWSLC_VER=$AWSLC_SHA # $AWSLC_VER|" Dockerfile | |
| echo "version=$AWSLC_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update aws-lc version to ${{ steps.update.outputs.version }} | |
| branch: update-aws-lc-version | |
| title: update aws-lc version to ${{ steps.update.outputs.version }} | |
| body: update aws-lc version to ${{ steps.update.outputs.version }} | |
| nginx-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update nginx version | |
| id: update | |
| run: | | |
| NGINX_VER="$( | |
| git ls-remote --tags --refs https://github.com/nginx/nginx \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| NGINX_SHA="$(git ls-remote https://github.com/nginx/nginx "$NGINX_VER" | cut -f1)" | |
| sed -i "s|ARG NGINX_VER=.*|ARG NGINX_VER=$NGINX_SHA # $NGINX_VER|" Dockerfile | |
| echo "version=$NGINX_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update nginx version to ${{ steps.update.outputs.version }} | |
| branch: update-nginx-version | |
| title: update nginx version to ${{ steps.update.outputs.version }} | |
| body: update nginx version to ${{ steps.update.outputs.version }} | |
| dynamic_tls_records-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update dynamic_tls_records version | |
| id: update | |
| run: | | |
| git clone --depth 1 https://github.com/nginx-modules/ngx_http_tls_dyn_size ngx_http_tls_dyn_size | |
| DTR_VER="$( | |
| ls ngx_http_tls_dyn_size/nginx__dynamic_tls_records_*.patch \ | |
| | sed "s|ngx_http_tls_dyn_size/nginx__dynamic_tls_records_\([0-9.]\+\)+.patch|\1|g" \ | |
| | sort -V \ | |
| | tail -1 | |
| )" | |
| rm -r ngx_http_tls_dyn_size | |
| sed -i "s|ARG DTR_VER=.*|ARG DTR_VER=$DTR_VER|" Dockerfile | |
| echo "version=$DTR_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update dynamic_tls_records version to ${{ steps.update.outputs.version }} | |
| branch: update-dynamic_tls_records-version | |
| title: update dynamic_tls_records version to ${{ steps.update.outputs.version }} | |
| body: update dynamic_tls_records version to ${{ steps.update.outputs.version }} | |
| resolver_conf_parsing-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update resolver_conf_parsing version | |
| id: update | |
| run: | | |
| git clone --depth 1 https://github.com/openresty/openresty openresty | |
| RCP_VER="$( | |
| ls openresty/patches/nginx \ | |
| | sort -V \ | |
| | tail -1 | |
| )" | |
| rm -r openresty | |
| sed -i "s|ARG RCP_VER=.*|ARG RCP_VER=$RCP_VER|" Dockerfile | |
| echo "version=$RCP_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update resolver_conf_parsing version to ${{ steps.update.outputs.version }} | |
| branch: update-resolver_conf_parsing-version | |
| title: update resolver_conf_parsing version to ${{ steps.update.outputs.version }} | |
| body: update resolver_conf_parsing version to ${{ steps.update.outputs.version }} | |
| zlib-ng-patch-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update zlib-ng-patch version | |
| id: update | |
| run: | | |
| git clone --depth 1 https://github.com/zlib-ng/patches zlib-ng-patches | |
| ZNP_VER="$( | |
| ls zlib-ng-patches/nginx/*-zlib-ng.patch \ | |
| | sed "s|zlib-ng-patches/nginx/\([0-9.]\+\)-zlib-ng.patch|\1|g" \ | |
| | sort -V \ | |
| | tail -1 | |
| )" | |
| rm -r zlib-ng-patches | |
| sed -i "s|ARG ZNP_VER=.*|ARG ZNP_VER=$ZNP_VER|" Dockerfile | |
| echo "version=$ZNP_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update zlib-ng-patch version to ${{ steps.update.outputs.version }} | |
| branch: update-zlib-ng-patch-version | |
| title: update zlib-ng-patch version to ${{ steps.update.outputs.version }} | |
| body: update zlib-ng-patch version to ${{ steps.update.outputs.version }} | |
| ngx_brotli-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update ngx_brotli version | |
| id: update | |
| run: | | |
| NB_VER="$( | |
| git ls-remote --tags --refs https://github.com/google/ngx_brotli \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| if [ -z "$NB_VER" ]; then NB_VER=master; fi | |
| NB_SHA="$(git ls-remote https://github.com/google/ngx_brotli "$NB_VER" | cut -f1)" | |
| sed -i "s|ARG NB_VER=.*|ARG NB_VER=$NB_SHA # $NB_VER|" Dockerfile | |
| echo "version=$NB_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update ngx_brotli version to ${{ steps.update.outputs.version }} | |
| branch: update-ngx_brotli-version | |
| title: update ngx_brotli version to ${{ steps.update.outputs.version }} | |
| body: update ngx_brotli version to ${{ steps.update.outputs.version }} | |
| ngx_unbrotli-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update ngx_unbrotli version | |
| id: update | |
| run: | | |
| NUB_VER="$( | |
| git ls-remote --tags --refs https://github.com/clyfish/ngx_unbrotli \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| if [ -z "$NUB_VER" ]; then NUB_VER=main; fi | |
| NUB_SHA="$(git ls-remote https://github.com/clyfish/ngx_unbrotli "$NUB_VER" | cut -f1)" | |
| sed -i "s|ARG NUB_VER=.*|ARG NUB_VER=$NUB_SHA # $NUB_VER|" Dockerfile | |
| echo "version=$NUB_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update ngx_unbrotli version to ${{ steps.update.outputs.version }} | |
| branch: update-ngx_unbrotli-version | |
| title: update ngx_unbrotli version to ${{ steps.update.outputs.version }} | |
| body: update ngx_unbrotli version to ${{ steps.update.outputs.version }} | |
| zstd-nginx-module-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update zstd-nginx-module version | |
| id: update | |
| run: | | |
| ZNM_VER="$( | |
| git ls-remote --tags --refs https://github.com/tokers/zstd-nginx-module \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| if [ "$ZNM_VER" = "0.1.1" ]; then ZNM_VER=master; fi | |
| ZNM_SHA="$(git ls-remote https://github.com/tokers/zstd-nginx-module "$ZNM_VER" | cut -f1)" | |
| sed -i "s|ARG ZNM_VER=.*|ARG ZNM_VER=$ZNM_SHA # $ZNM_VER|" Dockerfile | |
| echo "version=$ZNM_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update zstd-nginx-module version to ${{ steps.update.outputs.version }} | |
| branch: update-zstd-nginx-module-version | |
| title: update zstd-nginx-module version to ${{ steps.update.outputs.version }} | |
| body: update zstd-nginx-module version to ${{ steps.update.outputs.version }} | |
| ngx_http_unzstd_filter_module-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update ngx_http_unzstd_filter_module version | |
| id: update | |
| run: | | |
| NHUZFM_VER="$( | |
| git ls-remote --tags --refs https://github.com/HanadaLee/ngx_http_unzstd_filter_module \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| if [ -z "$NHUZFM_VER" ]; then NHUZFM_VER=main; fi | |
| NHUZFM_SHA="$(git ls-remote https://github.com/HanadaLee/ngx_http_unzstd_filter_module "$NHUZFM_VER" | cut -f1)" | |
| sed -i "s|ARG NHUZFM_VER=.*|ARG NHUZFM_VER=$NHUZFM_SHA # $NHUZFM_VER|" Dockerfile | |
| echo "version=$NHUZFM_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update ngx_http_unzstd_filter_module version to ${{ steps.update.outputs.version }} | |
| branch: update-ngx_http_unzstd_filter_module-version | |
| title: update ngx_http_unzstd_filter_module version to ${{ steps.update.outputs.version }} | |
| body: update ngx_http_unzstd_filter_module version to ${{ steps.update.outputs.version }} | |
| ngx-fancyindex-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update ngx-fancyindex version | |
| id: update | |
| run: | | |
| NF_VER="$( | |
| git ls-remote --tags --refs https://github.com/aperezdc/ngx-fancyindex \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| NF_SHA="$(git ls-remote https://github.com/aperezdc/ngx-fancyindex "$NF_VER" | cut -f1)" | |
| sed -i "s|ARG NF_VER=.*|ARG NF_VER=$NF_SHA # $NF_VER|" Dockerfile | |
| echo "version=$NF_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update ngx-fancyindex version to ${{ steps.update.outputs.version }} | |
| branch: update-ngx-fancyindex-version | |
| title: update ngx-fancyindex version to ${{ steps.update.outputs.version }} | |
| body: update ngx-fancyindex version to ${{ steps.update.outputs.version }} | |
| headers-more-nginx-module-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update headers-more-nginx-module version | |
| id: update | |
| run: | | |
| HMNM_VER="$( | |
| git ls-remote --tags --refs https://github.com/openresty/headers-more-nginx-module \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| HMNM_SHA="$(git ls-remote https://github.com/openresty/headers-more-nginx-module "$HMNM_VER" | cut -f1)" | |
| sed -i "s|ARG HMNM_VER=.*|ARG HMNM_VER=$HMNM_SHA # $HMNM_VER|" Dockerfile | |
| echo "version=$HMNM_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update headers-more-nginx-module version to ${{ steps.update.outputs.version }} | |
| branch: update-headers-more-nginx-module-version | |
| title: update headers-more-nginx-module version to ${{ steps.update.outputs.version }} | |
| body: update headers-more-nginx-module version to ${{ steps.update.outputs.version }} | |
| ngx_devel_kit-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update ngx_devel_kit version | |
| id: update | |
| run: | | |
| NDK_VER="$( | |
| git ls-remote --tags --refs https://github.com/vision5/ngx_devel_kit \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| NDK_SHA="$(git ls-remote https://github.com/vision5/ngx_devel_kit "$NDK_VER" | cut -f1)" | |
| sed -i "s|ARG NDK_VER=.*|ARG NDK_VER=$NDK_SHA # $NDK_VER|" Dockerfile | |
| echo "version=$NDK_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update ngx_devel_kit version to ${{ steps.update.outputs.version }} | |
| branch: update-ngx_devel_kit-version | |
| title: update ngx_devel_kit version to ${{ steps.update.outputs.version }} | |
| body: update ngx_devel_kit version to ${{ steps.update.outputs.version }} | |
| lua-nginx-module-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update lua-nginx-module version | |
| id: update | |
| run: | | |
| LNM_VER="$( | |
| git ls-remote --tags --refs https://github.com/openresty/lua-nginx-module \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| LNM_SHA="$(git ls-remote https://github.com/openresty/lua-nginx-module "$LNM_VER" | cut -f1)" | |
| sed -i "s|ARG LNM_VER=.*|ARG LNM_VER=$LNM_SHA # $LNM_VER|" Dockerfile | |
| echo "version=$LNM_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update lua-nginx-module version to ${{ steps.update.outputs.version }} | |
| branch: update-lua-nginx-module-version | |
| title: update lua-nginx-module version to ${{ steps.update.outputs.version }} | |
| body: update lua-nginx-module version to ${{ steps.update.outputs.version }} | |
| njs-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update njs version | |
| id: update | |
| run: | | |
| NJS_VER="$( | |
| git ls-remote --tags --refs https://github.com/nginx/njs \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| NJS_SHA="$(git ls-remote https://github.com/nginx/njs "$NJS_VER" | cut -f1)" | |
| sed -i "s|ARG NJS_VER=.*|ARG NJS_VER=$NJS_SHA # $NJS_VER|" Dockerfile | |
| echo "version=$NJS_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update njs version to ${{ steps.update.outputs.version }} | |
| branch: update-njs-version | |
| title: update njs version to ${{ steps.update.outputs.version }} | |
| body: update njs version to ${{ steps.update.outputs.version }} | |
| nginx-auth-ldap-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update nginx-auth-ldap version | |
| id: update | |
| run: | | |
| NAL_VER="$( | |
| git ls-remote --tags --refs https://github.com/kvspb/nginx-auth-ldap \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| if [ "$NAL_VER" = "v0.1" ]; then NAL_VER=master; fi | |
| NAL_SHA="$(git ls-remote https://github.com/kvspb/nginx-auth-ldap "$NAL_VER" | cut -f1)" | |
| sed -i "s|ARG NAL_VER=.*|ARG NAL_VER=$NAL_SHA # $NAL_VER|" Dockerfile | |
| echo "version=$NAL_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update nginx-auth-ldap version to ${{ steps.update.outputs.version }} | |
| branch: update-nginx-auth-ldap-version | |
| title: update nginx-auth-ldap version to ${{ steps.update.outputs.version }} | |
| body: update nginx-auth-ldap version to ${{ steps.update.outputs.version }} | |
| nginx-module-vts-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update vts version | |
| id: update | |
| run: | | |
| VTS_VER="$( | |
| git ls-remote --tags --refs https://github.com/vozlt/nginx-module-vts \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| VTS_SHA="$(git ls-remote https://github.com/vozlt/nginx-module-vts "$VTS_VER" | cut -f1)" | |
| sed -i "s|ARG VTS_VER=.*|ARG VTS_VER=$VTS_SHA # $VTS_VER|" Dockerfile | |
| echo "version=$VTS_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update vts version to ${{ steps.update.outputs.version }} | |
| branch: update-vts-version | |
| title: update vts version to ${{ steps.update.outputs.version }} | |
| body: update vtsversion to ${{ steps.update.outputs.version }} | |
| nginx-ntlm-module-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update nginx-ntlm-module version | |
| id: update | |
| run: | | |
| NNTLM_VER="$( | |
| git ls-remote --tags --refs https://github.com/gabihodoroaga/nginx-ntlm-module \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| if [ "$NNTLM_VER" = "v1.19.3-beta.1" ]; then NNTLM_VER=master; fi | |
| NNTLM_SHA="$(git ls-remote https://github.com/gabihodoroaga/nginx-ntlm-module "$NNTLM_VER" | cut -f1)" | |
| sed -i "s|ARG NNTLM_VER=.*|ARG NNTLM_VER=$NNTLM_SHA # $NNTLM_VER|" Dockerfile | |
| echo "version=$NNTLM_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update nginx-ntlm-module version to ${{ steps.update.outputs.version }} | |
| branch: update-nginx-ntlm-module-version | |
| title: update nginx-ntlm-module version to ${{ steps.update.outputs.version }} | |
| body: update nginx-ntlm-module version to ${{ steps.update.outputs.version }} | |
| ngx_http_geoip2_module-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update ngx_http_geoip2_module version | |
| id: update | |
| run: | | |
| NHG2M_VER="$( | |
| git ls-remote --tags --refs https://github.com/leev/ngx_http_geoip2_module \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| NHG2M_SHA="$(git ls-remote https://github.com/leev/ngx_http_geoip2_module "$NHG2M_VER" | cut -f1)" | |
| sed -i "s|ARG NHG2M_VER=.*|ARG NHG2M_VER=$NHG2M_SHA # $NHG2M_VER|" Dockerfile | |
| echo "version=$NHG2M_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update ngx_http_geoip2_module version to ${{ steps.update.outputs.version }} | |
| branch: update-ngx_http_geoip2_module-version | |
| title: update ngx_http_geoip2_module version to ${{ steps.update.outputs.version }} | |
| body: update ngx_http_geoip2_module version to ${{ steps.update.outputs.version }} | |
| attachment-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update attachment version | |
| id: update | |
| run: | | |
| OASA_VER="$( | |
| git ls-remote --tags --refs https://github.com/openappsec/attachment \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| if [ -z "$OASA_VER" ]; then OASA_VER=main; fi | |
| OASA_SHA="$(git ls-remote https://github.com/openappsec/attachment "$OASA_VER" | cut -f1)" | |
| sed -i "s|ARG OASA_VER=.*|ARG OASA_VER=$OASA_SHA # $OASA_VER|" Dockerfile | |
| echo "version=$OASA_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update attachment version to ${{ steps.update.outputs.version }} | |
| branch: update-attachment-version | |
| title: update attachment version to ${{ steps.update.outputs.version }} | |
| body: update attachment version to ${{ steps.update.outputs.version }} | |
| lua-resty-core-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update lua-resty-core version | |
| id: update | |
| run: | | |
| LRC_VER="$( | |
| git ls-remote --tags --refs https://github.com/openresty/lua-resty-core \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| LRC_SHA="$(git ls-remote https://github.com/openresty/lua-resty-core "$LRC_VER" | cut -f1)" | |
| sed -i "s|ARG LRC_VER=.*|ARG LRC_VER=$LRC_SHA # $LRC_VER|" Dockerfile | |
| echo "version=$LRC_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update lua-resty-core version to ${{ steps.update.outputs.version }} | |
| branch: update-lua-resty-core-version | |
| title: update lua-resty-core version to ${{ steps.update.outputs.version }} | |
| body: update lua-resty-core version to ${{ steps.update.outputs.version }} | |
| lua-resty-lrucache-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update lua-resty-lrucache version | |
| id: update | |
| run: | | |
| LRL_VER="$( | |
| git ls-remote --tags --refs https://github.com/openresty/lua-resty-lrucache \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| LRL_SHA="$(git ls-remote https://github.com/openresty/lua-resty-lrucache "$LRL_VER" | cut -f1)" | |
| sed -i "s|ARG LRL_VER=.*|ARG LRL_VER=$LRL_SHA # $LRL_VER|" Dockerfile | |
| echo "version=$LRL_VER" >> $GITHUB_OUTPUT | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update lua-resty-lrucache version to ${{ steps.update.outputs.version }} | |
| branch: update-lua-resty-lrucache-version | |
| title: update lua-resty-lrucache version to ${{ steps.update.outputs.version }} | |
| body: update lua-resty-lrucache version to ${{ steps.update.outputs.version }} | |
| lua-cs-bouncer-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: update lua-cs-bouncer version | |
| id: update | |
| run: | | |
| LCSB_VER="$( | |
| git ls-remote --tags --refs https://github.com/crowdsecurity/lua-cs-bouncer \ | |
| | cut -d/ -f3 \ | |
| | sort -V \ | |
| | grep -vi rc \ | |
| | tail -1 | |
| )" | |
| LCSB_SHA="$(git ls-remote https://github.com/crowdsecurity/lua-cs-bouncer "$LCSB_VER" | cut -f1)" | |
| sed -i "s|ARG LCSB_VER=.*|ARG LCSB_VER=$LCSB_SHA # $LCSB_VER|" Dockerfile | |
| echo "version=$LCSB_VER" >> $GITHUB_OUTPUT | |
| wget https://raw.githubusercontent.com/crowdsecurity/lua-cs-bouncer/refs/tags/"$LCSB_VER"/config_example.conf -O rootfs/etc/crowdsec.conf.original | |
| wget https://raw.githubusercontent.com/crowdsecurity/cs-nginx-bouncer/refs/heads/main/nginx/crowdsec_nginx.conf -O rootfs/usr/local/nginx/conf/conf.d/crowdsec.conf.original | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| signoff: true | |
| delete-branch: true | |
| commit-message: update lua-cs-bouncer version to ${{ steps.update.outputs.version }} | |
| branch: update-lua-cs-bouncer-version | |
| title: update lua-cs-bouncer version to ${{ steps.update.outputs.version }} | |
| body: update lua-cs-bouncer version to ${{ steps.update.outputs.version }} |