Skip to content

Commit f4f707d

Browse files
Merge pull request #13677 from vikram-redhat/enterprise-4.0
[enterprise-4.0] updated list of allowed folks for previews
2 parents de5a699 + c4613b6 commit f4f707d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

autocomment.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ wget https://api.travis-ci.org/v3/job/"${TRAVIS_JOB_ID}"/log.txt
99
ERROR_LIST=$(grep '31m' travis-log-408052641.txt | sed -r "s/[[:cntrl:]]\[[0-9]{1,3}m//g")
1010
echo "" > errors.txt
1111

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")
1313
USERNAME=${TRAVIS_PULL_REQUEST_SLUG::-15}
1414

1515
if [ "$TRAVIS_PULL_REQUEST" != "false" ] ; then #to make sure it only runs on PRs and not all merges
1616
if [[ " ${ALLOWED_USERS[*]} " =~ " ${USERNAME} " ]]; then # to make sure it only runs on PRs from @openshift/team-documentation
1717
if [ "${TRAVIS_PULL_REQUEST_BRANCH}" != "master" ] ; then # to make sure it does not run for direct master changes
1818
echo "$ERROR_LIST" >> errors.txt
19-
19+
2020
#add metadta for errors (required for adding GH comment)
2121
{
2222
echo -e "USERNAME:${USERNAME}"

autopreview.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -ev
33

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")
55
USERNAME=${TRAVIS_PULL_REQUEST_SLUG::-15}
66
COMMIT_HASH="$(git rev-parse @~)"
77
mapfile -t FILES_CHANGED < <(git diff --name-only "$COMMIT_HASH")

0 commit comments

Comments
 (0)