Compare commits
2 Commits
dev
...
gitea-v1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d37f4f79b4 | ||
|
|
2008050d0a |
@ -198,6 +198,7 @@ runs:
|
|||||||
EXCLUDE_COMMENTS_BY_ACTOR: ${{ inputs.exclude_comments_by_actor }}
|
EXCLUDE_COMMENTS_BY_ACTOR: ${{ inputs.exclude_comments_by_actor }}
|
||||||
GITHUB_RUN_ID: ${{ github.run_id }}
|
GITHUB_RUN_ID: ${{ github.run_id }}
|
||||||
GITEA_RUN_NUMBER: ${{ env.GITEA_RUN_NUMBER }}
|
GITEA_RUN_NUMBER: ${{ env.GITEA_RUN_NUMBER }}
|
||||||
|
USE_GITEA_API: ${{ env.USE_GITEA_API }}
|
||||||
USE_STICKY_COMMENT: ${{ inputs.use_sticky_comment }}
|
USE_STICKY_COMMENT: ${{ inputs.use_sticky_comment }}
|
||||||
DEFAULT_WORKFLOW_TOKEN: ${{ github.token }}
|
DEFAULT_WORKFLOW_TOKEN: ${{ github.token }}
|
||||||
USE_COMMIT_SIGNING: ${{ inputs.use_commit_signing }}
|
USE_COMMIT_SIGNING: ${{ inputs.use_commit_signing }}
|
||||||
@ -324,6 +325,7 @@ runs:
|
|||||||
CLAUDE_COMMENT_ID: ${{ steps.prepare.outputs.claude_comment_id }}
|
CLAUDE_COMMENT_ID: ${{ steps.prepare.outputs.claude_comment_id }}
|
||||||
GITHUB_RUN_ID: ${{ steps.prepare.outputs.run_id || github.run_id }}
|
GITHUB_RUN_ID: ${{ steps.prepare.outputs.run_id || github.run_id }}
|
||||||
GITEA_RUN_NUMBER: ${{ env.GITEA_RUN_NUMBER }}
|
GITEA_RUN_NUMBER: ${{ env.GITEA_RUN_NUMBER }}
|
||||||
|
USE_GITEA_API: ${{ env.USE_GITEA_API }}
|
||||||
GITHUB_TOKEN: ${{ steps.prepare.outputs.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ steps.prepare.outputs.GITHUB_TOKEN }}
|
||||||
GH_TOKEN: ${{ steps.prepare.outputs.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ steps.prepare.outputs.GITHUB_TOKEN }}
|
||||||
GITHUB_EVENT_NAME: ${{ github.event_name }}
|
GITHUB_EVENT_NAME: ${{ github.event_name }}
|
||||||
|
|||||||
@ -78,8 +78,8 @@ export async function setupGiteaRunId(
|
|||||||
owner: string,
|
owner: string,
|
||||||
repo: string,
|
repo: string,
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
// Only proceed if we're in Gitea and don't already have a run ID
|
// Only proceed if we're in Gitea mode
|
||||||
if (!USE_GITEA_API || process.env.GITHUB_RUN_ID) {
|
if (!USE_GITEA_API) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user