mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-10 14:43:34 +00:00
roots.pem > cacerts.pem for actions
This commit is contained in:
4
.github/workflows/get-roots.yml
vendored
4
.github/workflows/get-roots.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user