File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 6
6
7
7
permissions : write-all
8
8
9
+ env :
10
+ RELEASE_COMMIT_MSG : ' chore(release): update monorepo packages versions'
11
+
9
12
jobs :
10
13
stable :
11
14
name : Stable
@@ -27,15 +30,17 @@ jobs:
27
30
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
28
31
echo "date=$(date +"%B %d, %Y")" >> $GITHUB_OUTPUT
29
32
- name : Build
33
+ if : startsWith(github.event.head_commit.message, ${{ env.RELEASE_COMMIT_MSG }})
30
34
run : pnpm --filter=@graphprotocol/graph-cli build
31
35
- name : Pack binaries
36
+ if : startsWith(github.event.head_commit.message, ${{ env.RELEASE_COMMIT_MSG }})
32
37
run : pnpm --filter=@graphprotocol/graph-cli oclif:pack
33
38
- name : Release / pull_request
34
39
uses :
dotansimha/[email protected]
35
40
with :
36
41
publish : pnpm release
37
42
version : pnpm changeset version
38
- commit : ' chore(release): update monorepo packages versions '
43
+ commit : ${{ env.RELEASE_COMMIT_MSG }}
39
44
title : Upcoming Release Changes
40
45
createGithubReleases : true
41
46
githubReleaseName : ${{ steps.vars.outputs.date }}
You can’t perform that action at this time.
0 commit comments