Skip to content

Website to review changes to GoCD's website

Notifications You must be signed in to change notification settings

gocd/pr-review.gocd.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pull request reviews for gocd website.

Open the URL https://gocd.github.io/pr-review.gocd.org/pr-$PR_NUMBER to see the results of your PR.

Periodically pruning the repository

  • ensure that you have the gh cli installed
# change to the directory containing this repo: https://github.com/gocd/www.go.cd
cd www.go.cd

# save the list of open pull requests in a variable
PRS=$(gh pr list | awk '{print $1}' | sed -e 's/#//g')

# clone this repo
cd /tmp
git clone https://github.com/gocd/pr-review.gocd.org
cd pr-review.gocd.org

# delete dirs we do not need anymore
for i in $(/bin/ls | sed -e s/pr-//g); do
  if echo $PRS | grep $i -q; then
    echo open $i;
  else
    rm -rf pr-$i
  fi
done

git add .
git commit -m 'prune'

#squash commits all the way
git rebase SECOND_SHA_IN_HISTORY -i

# force push
git push -f

About

Website to review changes to GoCD's website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages