File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 4545 REPO_PUSH_TOKEN : ${{ secrets.REPO_PUSH_TOKEN }}
4646 run : |
4747 git config --global user.name "github-actions[bot]"
48- git config --global user.email "github- actions[bot]@users.noreply. github.com"
48+ git config --global user.email "actions@ github.com"
4949
5050 # Fetch and switch to main branch
5151 git fetch origin main
5757 # Commit only if changes exist
5858 if ! git diff --cached --quiet; then
5959 git commit -m ":bookmark: Update metadata after release"
60- git push https://x-access-token:${REPO_PUSH_TOKEN}@github.com/sciknoworg/OntoLearner.git main
60+ git remote set-url origin https://x-access-token:${PAT_TOKEN}@github.com/sciknoworg/OntoLearner.git
61+ git push origin main
6162 else
6263 echo "No changes to commit"
6364 fi
You can’t perform that action at this time.
0 commit comments