diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-08-23 15:27:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-23 15:27:54 +0800 |
commit | afb445bb57c7291a7741c60f8b3116afe5d8634d (patch) | |
tree | 0d9c7f06f27172545450992a08cceed3f2833916 /.github | |
parent | 92c5f94fe7fae17620ecb8895e287e9e66fb135c (diff) |
github: only run Actions when Go files are changed (#6275)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/go.yml | 2 | ||||
-rw-r--r-- | .github/workflows/lsif.yml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a0006d6f..35650160 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,6 +3,8 @@ on: push: branches: [master] pull_request: + paths: + - '**.go' env: GOPROXY: "https://proxy.golang.org" diff --git a/.github/workflows/lsif.yml b/.github/workflows/lsif.yml index 20136b78..a0f3daaa 100644 --- a/.github/workflows/lsif.yml +++ b/.github/workflows/lsif.yml @@ -1,5 +1,8 @@ name: LSIF -on: [push] +on: + push: + paths: + - '**.go' jobs: lsif-go: if: github.repository == 'gogs/gogs' |