Update certificate #89
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: 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 |