File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ wget https://api.travis-ci.org/v3/job/"${TRAVIS_JOB_ID}"/log.txt
9
9
ERROR_LIST=$( grep ' 31m' travis-log-408052641.txt | sed -r " s/[[:cntrl:]]\[[0-9]{1,3}m//g" )
10
10
echo " " > errors.txt
11
11
12
- ALLOWED_USERS=(" gaurav-nelson " " tmorriso-rh " " mburke5678 " " vikram -redhat" " ahardin-rh" " kalexand-rh" " adellape" " bfallonf " " bmcelvee " " ousleyp " )
12
+ ALLOWED_USERS=(" mburke5678 " " vikram-redhat " " ariordan -redhat" " ahardin-rh" " kalexand-rh" " adellape" " bmcelvee " " ousleyp " " jhoyt-rh " " JStickler " " geekspertise " " rh-max " " bergerhoffer " " huffmanca " " sheriff-rh " " jboxman " )
13
13
USERNAME=${TRAVIS_PULL_REQUEST_SLUG::- 15}
14
14
15
15
if [ " $TRAVIS_PULL_REQUEST " != " false" ] ; then # to make sure it only runs on PRs and not all merges
16
16
if [[ " ${ALLOWED_USERS[*]} " =~ " ${USERNAME} " ]]; then # to make sure it only runs on PRs from @openshift/team-documentation
17
17
if [ " ${TRAVIS_PULL_REQUEST_BRANCH} " != " master" ] ; then # to make sure it does not run for direct master changes
18
18
echo " $ERROR_LIST " >> errors.txt
19
-
19
+
20
20
# add metadta for errors (required for adding GH comment)
21
21
{
22
22
echo -e " USERNAME:${USERNAME} "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -ev
3
3
4
- ALLOWED_USERS=(" gaurav-nelson " " tmorriso-rh " " mburke5678 " " vikram -redhat" " ahardin-rh" " kalexand-rh" " adellape" " bfallonf " " bmcelvee" " ousleyp" " jhoyt-rh" " JStickler" " geekspertise" )
4
+ ALLOWED_USERS=(" mburke5678 " " vikram-redhat " " ariordan -redhat" " ahardin-rh" " kalexand-rh" " adellape" " bmcelvee" " ousleyp" " jhoyt-rh" " JStickler" " geekspertise" " rh-max " " bergerhoffer " " huffmanca " " sheriff-rh " " jboxman " )
5
5
USERNAME=${TRAVIS_PULL_REQUEST_SLUG::- 15}
6
6
COMMIT_HASH=" $( git rev-parse @~) "
7
7
mapfile -t FILES_CHANGED < <( git diff --name-only " $COMMIT_HASH " )
You can’t perform that action at this time.
0 commit comments