FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

dev/sg: ensure rebuilds for dependency changes (#41873) · gotid/sourcegraph@6af1cfb · GitHub

Commit 6af1cfb

Browse files
authored
dev/sg: ensure rebuilds for dependency changes (sourcegraph#41873)
sg imports a number of packages for which changes are important to rebuild sg with.
1 parent 37f18b4 commit 6af1cfb

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎.github/workflows/sg-binary-release.yml‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@ on:
55
branches:
66
- main
77
paths:
8+
# Core sg code
89
- 'dev/sg/**'
910
- '.github/workflows/sg-binary-release.yml'
11+
# Core sg dependencies
12+
- 'lib/output/**'
13+
- 'lib/errors/**'
14+
- 'lib/group/**'
15+
# Important things sg imports
16+
- 'enterprise/dev/ci/images/**' # sg ops
17+
- 'internal/database/migration/**' # sg migration
18+
- 'monitoring/**' # sg monitoring
1019

1120
env:
1221
GOFLAGS: -trimpath
@@ -19,13 +28,13 @@ jobs:
1928
steps:
2029
- name: checkout-sourcegraph-sg
2130
uses: actions/checkout@v2
22-
with:
31+
with:
2332
repository: sourcegraph/sg
2433
token: ${{ secrets.SG_RELEASE_TOKEN }}
2534
- name: touch-sourcegraph-sg
2635
run: |
2736
today=$(date +'%Y-%m-%d-%H-%M')
28-
sed -i 's/Latest release: .*/Latest release: '"$today"'/' README.md
37+
sed -i 's/Latest release: .*/Latest release: '"$today"'/' README.md
2938
git config user.name github-actions
3039
git config user.email github-actions@github.com
3140
git add README.md

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL