CA Certs Update #496
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@86ec1766034c8173518f61d2075cc2a173fb8c97 # v1.9.4 | |
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]>" |