Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions bin/never_alone/create_never_alone_trail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ function attest_never_alone_trail_to_parent
function main
{
check_arguments "$@"
# Use gh instead of git so we can keep the commit depth of 1. The order are from oldest commit to newest
local -r commits=($(gh api repos/:owner/:repo/compare/${START_COMMIT_SHA}...${END_COMMIT_SHA} -q '.commits[].sha'))
# Only get commits on main branch.
local -r commits=($(git rev-list --first-parent ${START_COMMIT_SHA}...${END_COMMIT_SHA}))

begin_trail_with_template ${FLOW_NAME} ${TRAIL_NAME} "${commits[@]}"

Expand Down
6 changes: 4 additions & 2 deletions release-flow-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ trail:
type: generic
- name: test
type: junit
- name: snyk-code
type: snyk
# - name: snyk-code
# type: snyk
- name: never-alone-trail
type: generic
artifacts:
- name: cli-docker
attestations:
Expand Down
Loading