We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6f0dcb commit 5c47627Copy full SHA for 5c47627
.github/workflows/main-github-action.yml
@@ -75,7 +75,10 @@ jobs:
75
76
# Create Release
77
- name: Create New Release
78
- if: success() && github.ref == 'refs/heads/master' # tests passed and sanity check on master branch
+ if: > # push only, tests passed, and sanity check on master branch
79
+ success()
80
+ && github.event_name == 'push'
81
+ && github.ref == 'refs/heads/master'
82
run: |
83
VERSION="v.$(date +'%Y.%m.%d.%H.%M.%S')-$(git rev-parse --short HEAD)"
84
echo "Creating release with version $VERSION"
0 commit comments