CA Certs Update #1231
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
# ******************************************************************************** | |
# Copyright (c) 2021 Contributors to the Eclipse Foundation | |
# | |
# See the NOTICE file(s) with this work for additional | |
# information regarding copyright ownership. | |
# | |
# This program and the accompanying materials are made | |
# available under the terms of the Apache Software License 2.0 | |
# which is available at https://www.apache.org/licenses/LICENSE-2.0. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# ******************************************************************************** | |
name: CA Certs Update | |
on: | |
workflow_dispatch: | |
schedule: | |
# https://crontab.guru/every-night-at-midnight | |
- cron: "0 0 * * *" | |
permissions: | |
contents: write # to push local changes (gr2m/create-or-update-pull-request-action) | |
pull-requests: write # to create a PR (gr2m/create-or-update-pull-request-action) | |
jobs: | |
update_ca_certs: | |
if: startsWith(github.repository, 'adoptium/') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
persist-credentials: false | |
- name: Run updater | |
working-directory: ./security | |
run: "./mk-ca-bundle.pl" | |
- uses: gr2m/create-or-update-pull-request-action@b65137ca591da0b9f43bad7b24df13050ea45d1b # v1.10.1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.ADOPTIUM_TEMURIN_BOT_TOKEN }} | |
with: | |
branch: ca-certs-updater | |
title: "Update CA Certs" | |
body: "See details in the Meta Bug linked from the *Root Cert Inclusions into Mozilla Product Releases* section of https://wiki.mozilla.org/NSS:Release_Versions" | |
commit-message: "cacerts: pull in updated certs from Mozilla" | |
author: "eclipse-temurin-bot <[email protected]>" |