mirror of
https://github.com/gogs/gogs.git
synced 2026-03-02 02:00:57 +01:00
github: only run Actions when Go files are changed (#6275)
This commit is contained in:
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
@@ -3,6 +3,8 @@ on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.go'
|
||||
env:
|
||||
GOPROXY: "https://proxy.golang.org"
|
||||
|
||||
|
||||
5
.github/workflows/lsif.yml
vendored
5
.github/workflows/lsif.yml
vendored
@@ -1,5 +1,8 @@
|
||||
name: LSIF
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**.go'
|
||||
jobs:
|
||||
lsif-go:
|
||||
if: github.repository == 'gogs/gogs'
|
||||
|
||||
Reference in New Issue
Block a user