Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GITHUB_ACTION_PATH is underspecified #24819

@jsoref

Description

@jsoref

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/learn-github-actions/variables

What part(s) of the article would you like to see updated?

GITHUB_ACTION_PATH should mention that the path includes a path if there is one.

Additional information

https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062421#step:2:71

GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/main

https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062371#step:2:71

GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/main/test

https://github.com/jsoref/show-action-path/actions/runs/4589129402/jobs/8103813737#step:2:71

GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/ambig/uous/test

https://github.com/jsoref/show-action-path/actions/runs/4589129402/jobs/8103813568#step:2:71

GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/ambig/uous/test/nested

Note that it isn't possible to distinguish where the end of the reference is from where the path within the repository is.

https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062310#step:3:72

GITHUB_ACTION_PATH=/home/runner/work/show-action-path/show-action-path/./

https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062475#step:3:72

GITHUB_ACTION_PATH=/home/runner/work/show-action-path/show-action-path/./test

https://github.com/jsoref/show-action-path/actions/runs/4589129402/jobs/8103813842

GITHUB_ACTION_PATH=/home/runner/work/show-action-path/show-action-path/./test/nested

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionsThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamhelp wantedAnyone is welcome to open a pull request to fix this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions