diff --git a/lib/landing_session.js b/lib/landing_session.js index e5115fe4..91fb688a 100644 --- a/lib/landing_session.js +++ b/lib/landing_session.js @@ -387,8 +387,13 @@ export default class LandingSession extends Session { if (!forceLand) { cli.info( - 'Use --fixupAll option, squash the PR manually or land the PR from ' + - 'the command line.' + 'GITHUB_ACTION' in process.env + + ? 'Add `commit-queue-squash` label to land the PR as one commit, ' + + 'or `commit-queue-rebase` to land as separate commits.' + + : 'Use --fixupAll option, squash the PR manually or land the PR ' + + 'from the command line.' ); process.exit(1); }