ci: Update Gitea workflow to use DSS_GITEA_TOKEN secret
This commit is contained in:
@@ -49,9 +49,9 @@ jobs:
|
||||
git add .dss/analysis_graph.json
|
||||
git commit -m "chore(dss): Update project analysis context [skip ci]"
|
||||
|
||||
# Use the GITEA_TOKEN for authentication
|
||||
# Use the DSS_GITEA_TOKEN for authentication
|
||||
# GITEA_SERVER_URL and GITEA_REPOSITORY are default environment variables in Gitea Actions.
|
||||
git push https://dss-agent:${{ secrets.GITEA_TOKEN }}@${GITEA_SERVER_URL}/${GITEA_REPOSITORY}.git HEAD:${GITEA_REF_NAME}
|
||||
git push https://dss-agent:${{ secrets.DSS_GITEA_TOKEN }}@${GITEA_SERVER_URL}/${GITEA_REPOSITORY}.git HEAD:${GITEA_REF_NAME}
|
||||
else
|
||||
echo "No changes detected in project context. Nothing to commit."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user