ci: Use github.token for authenticated checkout
Some checks failed
Some checks failed
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --depth=1 --branch=${{ github.ref_name }} \
|
||||
${{ github.server_url }}/${{ github.repository }}.git .
|
||||
https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git .
|
||||
|
||||
- name: Install cppcheck
|
||||
run: |
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --depth=1 --branch=${{ github.ref_name }} \
|
||||
${{ github.server_url }}/${{ github.repository }}.git .
|
||||
https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git .
|
||||
|
||||
- name: Install flawfinder
|
||||
run: |
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --branch=${{ github.ref_name }} \
|
||||
${{ github.server_url }}/${{ github.repository }}.git .
|
||||
https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git .
|
||||
|
||||
- name: Install gitleaks
|
||||
run: |
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --depth=1 --branch=${{ github.ref_name }} \
|
||||
${{ github.server_url }}/${{ github.repository }}.git .
|
||||
https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git .
|
||||
|
||||
- name: Install shellcheck
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user