mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2026-05-04 23:26:09 +02:00
Clean up committing in the workflows.
This commit is contained in:
parent
6569f1fd30
commit
328f6db3da
8
.github/workflows/publish-version-json.yml
vendored
8
.github/workflows/publish-version-json.yml
vendored
@ -70,10 +70,12 @@ jobs:
|
||||
if git diff --staged --quiet; then
|
||||
echo "No changes to commit"
|
||||
else
|
||||
# Set up git authentication for GitHub-signed commits
|
||||
gh auth setup-git
|
||||
# Configure git for GitHub Actions bot
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git commit -m "Update version info [automated]"
|
||||
|
||||
# Push using GitHub CLI with GITHUB_TOKEN
|
||||
gh auth setup-git
|
||||
git push origin gh-pages || { echo "Failed to push to gh-pages"; exit 1; }
|
||||
fi
|
||||
|
||||
8
.github/workflows/update-plugins-json.yml
vendored
8
.github/workflows/update-plugins-json.yml
vendored
@ -307,10 +307,12 @@ jobs:
|
||||
if git diff --staged --quiet; then
|
||||
echo "No changes to commit"
|
||||
else
|
||||
# Set up git authentication for GitHub-signed commits
|
||||
gh auth setup-git
|
||||
# Configure git for GitHub Actions bot
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git commit -m "Update plugins list [automated]"
|
||||
|
||||
# Push using GitHub CLI with GITHUB_TOKEN
|
||||
gh auth setup-git
|
||||
git push origin gh-pages || { echo "Failed to push to gh-pages"; exit 1; }
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user