Skip to content

Update certificate #100

Update certificate

Update certificate #100

name: Update certificate
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Update certificate
run: |
cd /tmp/
bash ${{ github.workspace }}/scripts/update-certificate.sh
- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: certificate-patch
commit-message: 'update ca-bundle.crt'
title: Update certificate
author: ChiaYen Kan[bot] <[email protected]>
committer: ChiaYen Kan[bot] <[email protected]>
delete-branch: true
body: >-
update ca-bundle.crt