Skip to content

Commit

Permalink
partial commit @ testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-1651 committed Oct 21, 2024
1 parent adaed1f commit b914b79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ runs:
using: docker
image: docker://ghcr.io/sunny-1651/manual-approval:latest
env:
repo-owner: env.target-repository-owner
repo-name: env.target-repository
repo-owner: ${{ env.target-repository-owner }}
repo-name: ${{ env.target-repository-name }}
7 changes: 3 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,9 @@ func main() {
os.Exit(1)
}

repoowner := os.Getenv("repo-owner")
reponame := os.Getenv("repo-name")
// fmt.Printf("repo owner: %s, name: %s \n", envVarTargetRepo, envVarTargetRepoOwner)
fmt.Printf("repo owner: %s, name: %s \n", repoowner, reponame)
targetRepoOwner := os.Getenv("target-repository-owner")
targetRepoName := os.Getenv("target-repository-name")
fmt.Printf("repo owner: %s, name: %s \n", targetRepoOwner, targetRepoName)

repoFullName := os.Getenv(envVarRepoFullName)
runID, err := strconv.Atoi(os.Getenv(envVarRunID))
Expand Down

0 comments on commit b914b79

Please sign in to comment.