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

Skip to content

create many branches uses json_string which should be replaced with json_file #275

@gm3dmo

Description

@gm3dmo

These contain the json string version:

create-branch.sh:json_string=$(cat $json_file | jq )
create-branch.sh:        ${GITHUB_API_BASE_URL}/repos/${org}/${repo}/git/refs --data "${json_string}"
create-commit-status.sh:json_string=$(cat $json_file | jq )
create-commit-status.sh:        ${GITHUB_API_BASE_URL}/repos/${org}/${repo}/statuses/${sha} --data "${json_string}"
create-n-commit-statuses.sh:  json_string=$(cat $json_file | jq )
create-n-commit-statuses.sh:        ${GITHUB_API_BASE_URL}/repos/${org}/${repo}/statuses/${sha} --data "${json_string}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions