Update cert workflow (#10497)

* Update cert workflow

* Update certificate
This commit is contained in:
DHR60
2026-11-02 01:24:18 +00:00
committed by GitHub
parent 743eb323c2
commit 8c02b5f2f6
2 changed files with 36 additions and 133 deletions
+36
View File
@@ -0,0 +1,36 @@
name: Update Certificate
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
permissions:
contents: write
pull-requests: write
jobs:
update-cert:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
dotnet-version: 10.0.x
- name: Update Certificate
run: |
dotnet run .github/scripts/UpdateCert.cs
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Update certificate"
title: "Update certificate"
body: "This pull request updates the certificate."
branch: github-actions/update-certificate
delete-branch: true