actions / actions/runner

New default environment variables that contain the user and repo with no `/`.

Open
#1,288 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement future
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Describe the enhancement
New default environment variables that contain the user and repo with no /.

Code Snippet

  • GITHUB_REPOSITORY
    • The owner and repository name. For example, octocat/Hello-World.

I am proposing the addition of GITHUB_REPOSITORY_USER and GITHUB_REPOSITORY_NAME respectively.

Additional information
https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables

NOTE: if the feature request has been agreed upon then the assignee will create an ADR. See docs/adrs/README.md

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked GitHub Actions default environment variable documentation and docs/adrs/README.md, then locate how the runner currently defines GITHUB_REPOSITORY. Confirm whether the proposal has agreement before proceeding; done means the owner and repository name are exposed separately without a slash and the ADR process is followed if the feature is accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, github-actions
Domain
ci-cd, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.