Skip to content

Commit

Permalink
Merge pull request #19 from matt-ball/support-new-ids
Browse files Browse the repository at this point in the history
support longer ids
  • Loading branch information
matt-ball authored Dec 18, 2020
2 parents b0d293b + 21189c2 commit 0659e9b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function init () {
const get = core.getInput
const required = { required: true }
const apiBase = 'https://api.postman.com'
const idRegex = /^[0-9]{7}-\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$/
const idRegex = /^[0-9]{7,}-\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$/

const options = {
apiKey: '?apikey=' + get('apiKey'),
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async function init () {
const get = core.getInput
const required = { required: true }
const apiBase = 'https://api.postman.com'
const idRegex = /^[0-9]{7}-\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$/
const idRegex = /^[0-9]{7,}-\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$/

const options = {
apiKey: '?apikey=' + get('apiKey'),
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "newman-action",
"version": "0.2.3",
"version": "0.2.4",
"description": "Run Postman collections with Newman as a GitHub Action",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 0659e9b

Please sign in to comment.