Skip to content

Commit 4058f56

Browse files
committed
update github action variables
1 parent 0550c06 commit 4058f56

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ runs:
4848
});
4949
core.setOutput('comment_id', comment.data.id);
5050
core.setOutput('run_url', runUrl);
51+
core.setOutput('repo_owner', context.repo.owner);
52+
core.setOutput('repo_name', context.repo.repo);
5153
5254
- name: Start workspace
5355
shell: bash
@@ -58,8 +60,8 @@ runs:
5860
CODER_TOKEN: ${{ inputs.coder-token }}
5961
WORKSPACE_NAME: ${{ inputs.workspace-name }}
6062
GITHUB_STATUS_COMMENT_ID: ${{ steps.initial-comment.outputs.comment_id }}
61-
GITHUB_REPO_OWNER: ${{ context.repo.owner }}
62-
GITHUB_REPO_NAME: ${{ context.repo.repo }}
63+
GITHUB_REPO_OWNER: ${{ steps.initial-comment.outputs.repo_owner }}
64+
GITHUB_REPO_NAME: ${{ steps.initial-comment.outputs.repo_name }}
6365
GITHUB_TOKEN: ${{ inputs.github-token }}
6466
GITHUB_WORKFLOW_RUN_URL: ${{ steps.initial-comment.outputs.run_url }}
6567
TEMPLATE_NAME: ${{ inputs.template-name }}

0 commit comments

Comments
 (0)