Skip to content

Commit

Permalink
Update version and build
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideViolante committed Jan 24, 2023
1 parent c373a7e commit 21cc3e4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
pr-reviews-reminder:
runs-on: ubuntu-latest
steps:
- uses: davideviolante/pr-reviews-reminder-action@v2.2.3
- uses: davideviolante/pr-reviews-reminder-action@v2.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
8 changes: 4 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function createPr2UserArray(pullRequestsToReview) {
*/
function checkGithubProviderFormat(str) {
// Pattern made with the help of ChatGPT
const pattern = /^[A-z0-9_-]+:[A-z0-9_-]+((,[A-z0-9_-]+:[A-z0-9_-]+)*)$/;
const pattern = /^[A-z0-9_-]+:[A-z0-9_-]+(,\s*[A-z0-9_-]+:[A-z0-9_-]+)*$/m;
return pattern.test(str);
}

Expand All @@ -81,7 +81,7 @@ function stringToObject(str) {
if (!str) {
return map;
}
const users = str.split(',');
const users = str.replace(/[\s\r\n]+/g, '').split(',');
users.forEach((user) => {
const [github, provider] = user.split(':');
map[github] = provider;
Expand Down Expand Up @@ -6463,7 +6463,7 @@ module.exports = require("zlib");
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {

"use strict";
// Axios v1.2.2 Copyright (c) 2022 Matt Zabriskie and contributors
// Axios v1.2.3 Copyright (c) 2023 Matt Zabriskie and contributors


const FormData$1 = __nccwpck_require__(4334);
Expand Down Expand Up @@ -8376,7 +8376,7 @@ function buildFullPath(baseURL, requestedURL) {
return requestedURL;
}

const VERSION = "1.2.2";
const VERSION = "1.2.3";

function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
Expand Down
32 changes: 16 additions & 16 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pr-reviews-reminder-action",
"version": "2.2.3",
"version": "2.3.0",
"description": "Reminder for Pull Request pending reviews",
"scripts": {
"build": "ncc build index.js",
Expand All @@ -20,11 +20,11 @@
"homepage": "https://github.com/DavideViolante/pr-reviews-reminder-action#readme",
"dependencies": {
"@actions/core": "^1.10.0",
"axios": "^1.2.2"
"axios": "^1.2.3"
},
"devDependencies": {
"@vercel/ncc": "^0.36.0",
"eslint": "^8.31.0",
"eslint": "^8.32.0",
"eslint-config-google": "^0.14.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0"
Expand Down

0 comments on commit 21cc3e4

Please sign in to comment.