aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-12-08 15:03:56 +0100
committerMichael Muré <batolettre@gmail.com>2020-12-08 15:03:56 +0100
commit52ef5e96f543ca242a9e1e8f2917492eb3d3fb95 (patch)
treeeedd06871e39999f08b6be0e7e64e19cb54b096c /bridge/github
parentc884d557bf5e0ebdbe6e3b20535af24c2e97d29f (diff)
downloadgit-bug-52ef5e96f543ca242a9e1e8f2917492eb3d3fb95.tar.gz
add github actions
Diffstat (limited to 'bridge/github')
-rw-r--r--bridge/github/config_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/github/config_test.go b/bridge/github/config_test.go
index eecb1aa8..01907435 100644
--- a/bridge/github/config_test.go
+++ b/bridge/github/config_test.go
@@ -103,6 +103,9 @@ func TestValidateUsername(t *testing.T) {
if env := os.Getenv("TRAVIS"); env == "true" {
t.Skip("Travis environment: avoiding non authenticated requests")
}
+ if _, has := os.LookupEnv("CI"); has {
+ t.Skip("Github action environment: avoiding non authenticated requests")
+ }
tests := []struct {
name string