Skip to content

Update mk-ca-bundle.pl script #294

Update mk-ca-bundle.pl script

Update mk-ca-bundle.pl script #294

name: Update mk-ca-bundle.pl script
on:
schedule:
- cron: "14 15 * * *"
workflow_dispatch:
jobs:
update-mk-ca-bundle:
runs-on: ubuntu-latest
steps:
- name: Generate Auth Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- id: git-user
name: Set up git user
uses: haarg/setup-git-user@v1
with:
app: ${{ steps.app-token.outputs.app-slug }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Update mk-ca-bundle.pl script
run: |
./maint/update-mk-ca-bundle
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ steps.app-token.outputs.token }}
commit-message: Update mk-ca-bundle.pl script
author: ${{ steps.git-user.outputs.user-full }}
committer: ${{ steps.git-user.outputs.user-full }}
title: Update mk-ca-bundle.pl script
branch: update-mk-ca-bundle