From 13bb65e01312278c6fe54e8521653e6a4689e999 Mon Sep 17 00:00:00 2001 From: LieutenantRoger Date: Thu, 3 Feb 2022 12:41:44 +0800 Subject: [PATCH 1/2] Add Did not Post status --- .circleci/config.yml | 2 +- src/bootstrap.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 761c245..42c4385 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,7 +70,7 @@ workflows: filters: branches: only: - - dev + - hot-fix-post-status # Production builds are exectuted only on tagged commits to the # master branch. diff --git a/src/bootstrap.js b/src/bootstrap.js index 52173c1..15ff21b 100644 --- a/src/bootstrap.js +++ b/src/bootstrap.js @@ -6,7 +6,7 @@ global.Promise = require('bluebird') Joi.rateType = () => Joi.string().valid('hourly', 'daily', 'weekly', 'monthly', 'annual') Joi.jobStatus = () => Joi.string().valid('sourcing', 'in-review', 'assigned', 'closed', 'cancelled') -Joi.jobRcrmStatus = () => Joi.string().valid('Open', 'On Hold', 'Canceled', 'Draft', 'Closed').allow(null) +Joi.jobRcrmStatus = () => Joi.string().valid('Open', 'On Hold', 'Canceled', 'Draft', 'Closed', 'Did not Post').allow(null) Joi.jobCandidateStatus = () => Joi.string().valid('open', 'placed', 'selected', 'client rejected - screening', 'client rejected - interview', 'rejected - other', 'cancelled', 'interview', 'topcoder-rejected', 'applied', 'rejected-pre-screen', 'skills-test', 'skills-test', 'phone-screen', 'job-closed', 'offered', 'withdrawn', 'withdrawn-prescreen') Joi.workload = () => Joi.string().valid('full-time', 'fractional') Joi.jobTag = () => Joi.string().valid('New', '$$$', 'Hot').allow('') From 03f3a8ec638b2ffdeb248fc003b11be2cead86c1 Mon Sep 17 00:00:00 2001 From: LieutenantRoger Date: Thu, 3 Feb 2022 16:21:18 +0800 Subject: [PATCH 2/2] restore ci --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 42c4385..761c245 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,7 +70,7 @@ workflows: filters: branches: only: - - hot-fix-post-status + - dev # Production builds are exectuted only on tagged commits to the # master branch.