CI: Add status-failure and status-pending check to be sure that all steps are run (#1966)
* Test automerge with `all_github_action_checks` twice * Add status-failure=0 and status-pending=0 on mergify * status-pending doesn't exist, use status-neutral
This commit is contained in:
parent
16c2211b47
commit
683d34d41d
|
@ -17,6 +17,8 @@ pull_request_rules:
|
||||||
conditions:
|
conditions:
|
||||||
- check-success=Travis CI - Pull Request
|
- check-success=Travis CI - Pull Request
|
||||||
- check-success=all_github_action_checks
|
- check-success=all_github_action_checks
|
||||||
|
- "#status-failure=0"
|
||||||
|
- "#status-neutral=0"
|
||||||
- label=automerge
|
- label=automerge
|
||||||
- author≠@dont-squash-my-commits
|
- author≠@dont-squash-my-commits
|
||||||
actions:
|
actions:
|
||||||
|
@ -27,6 +29,8 @@ pull_request_rules:
|
||||||
conditions:
|
conditions:
|
||||||
- check-success=Travis CI - Pull Request
|
- check-success=Travis CI - Pull Request
|
||||||
- check-success=all_github_action_checks
|
- check-success=all_github_action_checks
|
||||||
|
- "#status-failure=0"
|
||||||
|
- "#status-neutral=0"
|
||||||
- label=automerge
|
- label=automerge
|
||||||
- author=@dont-squash-my-commits
|
- author=@dont-squash-my-commits
|
||||||
actions:
|
actions:
|
||||||
|
|
|
@ -365,7 +365,6 @@ export async function failOnApproveOverspend(): Promise<void> {
|
||||||
const delegate = Keypair.generate();
|
const delegate = Keypair.generate();
|
||||||
|
|
||||||
await testToken.transfer(testAccount, account1, testAccountOwner, [], 10);
|
await testToken.transfer(testAccount, account1, testAccountOwner, [], 10);
|
||||||
|
|
||||||
await testToken.approve(account1, delegate.publicKey, owner, [], 2);
|
await testToken.approve(account1, delegate.publicKey, owner, [], 2);
|
||||||
|
|
||||||
let account1Info = await testToken.getAccountInfo(account1);
|
let account1Info = await testToken.getAccountInfo(account1);
|
||||||
|
|
Loading…
Reference in New Issue