Skip to content

Commit

Permalink
circleci: fixed missing action context
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Jan 5, 2025
1 parent 55188ac commit c3a55eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions atlasaction/circleci_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func (a *circleCIOrb) SetOutput(name, value string) {
// https://circleci.com/docs/variables/#built-in-environment-variables
func (a *circleCIOrb) GetTriggerContext(ctx context.Context) (*TriggerContext, error) {
tc := &TriggerContext{
Act: a,
RepoURL: a.getenv("CIRCLE_REPOSITORY_URL"),
Repo: a.getenv("CIRCLE_PROJECT_REPONAME"),
Branch: a.getenv("CIRCLE_BRANCH"),
Expand Down

0 comments on commit c3a55eb

Please sign in to comment.