chore: Use kokoro-force-run for release PRs and turn on cron
This commit is contained in:
parent
ba2823f943
commit
90796c08c0
|
@ -1,6 +1,6 @@
|
||||||
on:
|
on:
|
||||||
# schedule:
|
schedule:
|
||||||
# - cron: '49 8 * * 1'
|
- cron: '49 8 * * 1'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
name: release-please
|
name: release-please
|
||||||
|
@ -54,7 +54,7 @@ jobs:
|
||||||
owner: 'googleapis',
|
owner: 'googleapis',
|
||||||
repo: 'google-api-ruby-client',
|
repo: 'google-api-ruby-client',
|
||||||
issue_number: pr.number,
|
issue_number: pr.number,
|
||||||
labels: ["autorelease: pending", "automerge", "kokoro:run"]
|
labels: ["autorelease: pending", "automerge", "kokoro:force-run"]
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
core.info("ENABLE_AUTO_APPROVE is not set; labeling release only");
|
core.info("ENABLE_AUTO_APPROVE is not set; labeling release only");
|
||||||
|
@ -62,7 +62,7 @@ jobs:
|
||||||
owner: 'googleapis',
|
owner: 'googleapis',
|
||||||
repo: 'google-api-ruby-client',
|
repo: 'google-api-ruby-client',
|
||||||
issue_number: pr.number,
|
issue_number: pr.number,
|
||||||
labels: ["autorelease: pending", "kokoro:run"]
|
labels: ["autorelease: pending", "kokoro:force-run"]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
core.info("AutoApprove: complete!");
|
core.info("AutoApprove: complete!");
|
||||||
|
|
Loading…
Reference in New Issue