mirror of
https://github.com/th30d4y/OpenLearnX.git
synced 2026-05-26 19:26:33 +00:00
Pin checkout action SHA and simplify bot noreply email
Agent-Logs-Url: https://github.com/th30d4y/OpenLearnX/sessions/17fba2c8-4f49-4a78-9dc4-483acc8cc945 Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c31b857c11
commit
116965b0db
@@ -33,7 +33,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Checkout logs repository
|
- name: Checkout logs repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
|
||||||
with:
|
with:
|
||||||
repository: th30d4y/LOGS
|
repository: th30d4y/LOGS
|
||||||
token: ${{ secrets.LOGS_REPO_PAT }}
|
token: ${{ secrets.LOGS_REPO_PAT }}
|
||||||
@@ -102,7 +102,7 @@ jobs:
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
cd logs-repo
|
cd logs-repo
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
if [ -z "$(git status --porcelain)" ]; then
|
if [ -z "$(git status --porcelain)" ]; then
|
||||||
echo "No log changes to commit"
|
echo "No log changes to commit"
|
||||||
|
|||||||
Reference in New Issue
Block a user