Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dummy main pr test #139

Merged
merged 7 commits into from
Aug 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/ci_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,30 @@ jobs:
steps:
- name: checkout ${{ github.head_ref }}
uses: actions/checkout@v4
with:
# default depth is 1, but we need the parent refs
fetch-depth: 2
- name: check
shell: bash
run: |
git log -n 1
git log -n 1 --parents
git log -n 1 --pretty=%p
- name: compute tag name
shell: bash
run: |
git log --pretty="%h" -n 1
git log -n 1
git log -n 2
git log -n 2 --parents
git log --pretty=%P -1 --merges
git log --pretty=%P -1 --no-merges
git log --pretty="%p" -n 1
git log -n 1 --pretty="%P"
git log -n 1 --pretty="%p"
git log -n 1 --pretty=%p
git log --pretty="%p" -n 1
echo $([[ $(git log --pretty="%p" -n 1 | wc -w) -gt 1 ]] && echo "PR 1" || echo "regular push 1")
echo $([[ $(git log --pretty="%p" -n 1 | wc -w) -gt 1 ]] \
&& echo "PR" \
|| echo "regular push")
Expand Down
Loading