Update CA bundle in embedded templates #34
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
name: Update CA bundle in embedded templates | |
permissions: | |
contents: write | |
pull-requests: write | |
on: | |
schedule: | |
- cron: '0 */4 * * *' | |
jobs: | |
update: | |
name: Update CA bundle | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install NPM deps. | |
run: npm install octokit@3.2.1 | |
- name: Create PR | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
run: node ./hack/update-ca-bundle.js | |