Skip to content

Put varying label first in check-commit matrix#15926

Closed
findepi wants to merge 2 commits intotrinodb:masterfrom
findepi:findepi/sha-first
Closed

Put varying label first in check-commit matrix#15926
findepi wants to merge 2 commits intotrinodb:masterfrom
findepi:findepi/sha-first

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Feb 1, 2023

Following up to c350590, further
improves GitHub Actions UI, but moving the constant part, the base
branch name, off of view.

Following up to c350590, further
improves GitHub Actions UI, but moving the constant part, the base
branch name, off of view.
@findepi findepi added no-release-notes This pull request does not require release notes entry dx Issues or pull requests related to developer experience labels Feb 1, 2023
@cla-bot cla-bot bot added the cla-signed label Feb 1, 2023
run: |
# The output from rev-list ends with a newline, so we have to filter out index -1 in jq since it's an empty string
JQ_PIPELINE='split("\n") | .[0:-1] | map({base_ref: "${{ github.event.pull_request.base.ref }}", commit: .}) | select(length > 0) | {include: .}'
JQ_PIPELINE='split("\n") | .[0:-1] | map({commit: ., base_ref: "${{ github.event.pull_request.base.ref }}"}) | select(length > 0) | {include: .}'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we discussed offline, you could remove base_ref: "${{ github.event.pull_request.base.ref }}" and reference it directly instead of matrix.base_ref later.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that would make my PR obsolete.
@nineinchnick do you want to send a PR with such change?
(be sure to include some empty commit, to exercise this within the PR)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@findepi findepi closed this Feb 1, 2023
@findepi findepi deleted the findepi/sha-first branch February 1, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed dx Issues or pull requests related to developer experience no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

2 participants