roots.pem > cacerts.pem for actions

This commit is contained in:
Jay Lee
2023-07-21 14:30:25 -04:00
committed by GitHub
parent 1475fd50ba
commit 84ec84f4ac

View File

@ -21,14 +21,14 @@ jobs:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Check for updates - name: Check for updates
run: curl -o ./roots.pem -vvvv https://pki.goog/roots.pem run: curl -o ./cacerts.pem -vvvv https://pki.goog/roots.pem
- name: Commit file - name: Commit file
run: | run: |
git config --local user.email "action@github.com" git config --local user.email "action@github.com"
git config --local user.name "GitHub Action" git config --local user.name "GitHub Action"
git add roots.pem git add roots.pem
git diff --quiet && git diff --staged --quiet || git commit -am '[ci skip] Updated roots.pem' git diff --quiet && git diff --staged --quiet || git commit -am '[ci skip] Updated cacerts.pem'
- name: Push changes - name: Push changes
uses: ad-m/github-push-action@master uses: ad-m/github-push-action@master