We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e26d0f commit bf661a5Copy full SHA for bf661a5
.github/workflows/scheduled-version-update.yaml
@@ -29,8 +29,14 @@ jobs:
29
id: current_sha
30
run: |
31
cd genesis
32
- CURRENT_SHA=$(git log -n 1 --pretty=format:"%H" --invert-grep --grep='^ci:')
33
- echo "last commit SHA (ci ignored) : $CURRENT_SHA"
+ CURRENT_SHA=$(
+ git log --pretty=format:"%H" \
34
+ --invert-grep --grep="^ci:" \
35
+ --invert-grep --grep="^Merge branch 'main'" \
36
+ --invert-grep --grep="^Revert " \
37
+ -n 1
38
+ )
39
+ echo "last commit SHA : $CURRENT_SHA"
40
echo "current_sha=$CURRENT_SHA" >> $GITHUB_OUTPUT
41
42
- name: Get last version tag and SHA
0 commit comments