File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,16 @@ jobs:
30
30
31
31
git fetch --depth=1 origin master
32
32
git fetch --depth=10 origin bot || exit 0
33
+ echo "AUTHOR: $author"
34
+ echo "GITHUB_WORKFLOW_SHA: $GITHUB_WORKFLOW_SHA"
35
+ echo "FETCH_HEAD: $(git rev-parse FETCH_HEAD)"
33
36
if [ "$author" == "app/github-actions" ] && [ "$GITHUB_WORKFLOW_SHA" == "$(git rev-parse FETCH_HEAD)" ]; then
34
37
git checkout master
35
38
git merge origin/bot
36
39
git push
37
- fi
38
-
39
- if git log -1 --pretty="format:" --name-only | grep -q '^version.txt$'; then
40
- echo "auto_release=1" >> "$GITHUB_OUTPUT"
40
+ if git log -1 --pretty="format:" --name-only | grep -q '^version.txt$'; then
41
+ echo "auto_release=1" >> "$GITHUB_OUTPUT"
42
+ fi
41
43
fi
42
44
43
45
Auto-Release :
You can’t perform that action at this time.
0 commit comments