11GitHub
22------
33
4- [ ![ Build Status ] ( https://travis-ci.org/phadej /github. svg?branch=master )] ( https://travis-ci.org/phadej /github )
4+ [ ![ Haskell-CI ] ( https://github.com/haskell-github /github/actions/workflows/haskell-ci.yml/badge. svg )] ( https://github.com/haskell-github /github/actions/workflows/haskell-ci.yml )
55[ ![ Hackage] ( https://img.shields.io/hackage/v/github.svg )] [ hackage ]
66
77The GitHub API v3 for Haskell.
@@ -30,7 +30,7 @@ Example Usage
3030=============
3131
3232See the samples in the
33- [ samples/] ( https://github.com/fpco /github/tree/master/samples ) directory.
33+ [ samples/] ( https://github.com/haskell-github /github/tree/master/samples ) directory.
3434
3535Note: some samples might be outdated.
3636
@@ -51,7 +51,7 @@ you want. You must call the function using IO goodness, then dispatch on the
5151possible error message. Here's an example from the samples:
5252
5353Many function have samples under
54- [ ` samples/ ` ] ( https://github.com/phadej /github/tree/master/samples ) directory.
54+ [ ` samples/ ` ] ( https://github.com/haskell-github /github/tree/master/samples ) directory.
5555
5656``` hs
5757{-# LANGUAGE NoImplicitPrelude #-}
@@ -77,21 +77,11 @@ formatUser :: GitHub.SimpleUser -> Text
7777formatUser = GitHub. untagName . GitHub. simpleUserLogin
7878```
7979
80- Test setup
81- ==========
82-
83- To run integration part of tests, you'll need [ github access token] ( https://github.com/settings/tokens/new )
84- Token is needed, because unauthorised access is highly limited.
85- It's enough to add only basic read access for public information.
86-
87- With ` travis encrypt --org --repo yournick/github "GITHUB_TOKEN=yourtoken" ` command you get a secret,
88- you can use in your travis setup to run the test-suite there.
89-
9080Contributions
9181=============
9282
9383Please see
94- [ CONTRIBUTING.md] ( https://github.com/fpco /github/blob/master/CONTRIBUTING.md )
84+ [ CONTRIBUTING.md] ( https://github.com/haskell-github /github/blob/master/CONTRIBUTING.md )
9585for details on how you can help.
9686
9787Copyright
0 commit comments