mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
42 lines
1.5 KiB
YAML
42 lines
1.5 KiB
YAML
name: Update CA certificate bundle
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "5 2 * * *"
|
|
|
|
jobs:
|
|
update-ca-certificate-bundle:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
branches: ["master", "stable26", "stable25", "stable24", "stable23", "stable22"]
|
|
|
|
name: update-ca-certificate-bundle-${{ matrix.branches }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
|
|
with:
|
|
ref: ${{ matrix.branches }}
|
|
submodules: true
|
|
|
|
- name: Download CA certificate bundle from curl
|
|
run: curl --etag-compare build/ca-bundle-etag.txt --etag-save build/ca-bundle-etag.txt --output resources/config/ca-bundle.crt https://curl.se/ca/cacert.pem
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3.14.0
|
|
with:
|
|
token: ${{ secrets.COMMAND_BOT_PAT }}
|
|
commit-message: Update CA certificate bundle
|
|
committer: GitHub <noreply@github.com>
|
|
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
signoff: true
|
|
branch: automated/noid/${{ matrix.branches }}-update-ca-cert-bundle
|
|
title: "[${{ matrix.branches }}] Update ca-cert bundle"
|
|
body: |
|
|
Auto-generated update of CA certificate bundle from [https://curl.se/docs/caextract.html](https://curl.se/docs/caextract.html)
|
|
labels: |
|
|
dependencies
|
|
3. to review
|