8000 Pack 2.1.2 - fix merge_pull action by igcherkaev · Pull Request #49 · StackStorm-Exchange/stackstorm-github · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@igcherkaev
Copy link
Contributor

Based on github API documentation: https://docs.github.com/en/rest/pulls/pulls#get-a-pull-request

The value of the mergeable attribute can be true, false, or null. If the value is null, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-null value for the mergeable attribute in the response. If mergeable is true, then merge_commit_sha will be the SHA of the test merge commit.

The if condition to test if PR is mergeable was wrong. This PR is to fix it.

@CLAassistant
Copy link
CLAassistant commented Sep 7, 2022

CLA assistant check
All committers have signed the CLA.

@cognifloyd cognifloyd merged commit 0e4d1e9 into StackStorm-Exchange:master Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0