Skip to content

Action should be able to read url from context as default value #508

@goatwu1993

Description

@goatwu1993

action.yml can have better default values by reading action context.

changelog-host: {{ github.server_url }}
github-api-url: {{ github.api_url }}
github-graphql-url: {{ github.graphql_url }}

This shall not effect github.com repos, but will make life easier on GitHub Enterprise.

Check https://docs.github.com/en/actions/learn-github-actions/contexts

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions