forked from Chia-Network/chia-blockchain
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 1.31 KB
/
mozilla-ca-cert.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: "Update Mozilla CA sub module"
on:
workflow_dispatch:
branches:
- $default-branch
jobs:
update_ca_module:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: "${{ github.event.inputs.chia_ref }}"
repository: chia-network/chia-blockchain
submodules: recursive
token: "${{ secrets.GITHUB_TOKEN }}"
- name: Set up commit signing
uses: Chia-Network/actions/commit-sign/gpg@main
with:
gpg_private_key: ${{ secrets.CHIA_AUTOMATION_PRIVATE_GPG_KEY }}
passphrase: ${{ secrets.CHIA_AUTOMATION_PRIVATE_GPG_PASSPHRASE }}
- name: "Add changes to new branch"
run: |
cd ./mozilla-ca
git pull origin main
- name: "Create Pull Request"
uses: peter-evans/create-pull-request@v5
with:
base: main
body: "Newest Mozilla CA cert"
branch: mozilla-ca-updates
commit-message: "adding ca updates"
delete-branch: true
reviewers: "wjblanke,emlowe"
assignees: "wallentx"
title: "CA Cert updates"
token: "${{ secrets.GITHUB_TOKEN }}"
committer: "ChiaAutomation <[email protected]>"
author: "ChiaAutomation <[email protected]>"