Skip to content

Use github.event.pull_request.head.sha as PR reference in DCM workflow #2147

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

Merged
merged 1 commit into from
Jun 17, 2023

Conversation

elliette
Copy link
Contributor

Follow up to #2135

Currently the DCM workflow is running against the last commit on the master branch, not on the PR branch

From reading https://github.com/orgs/community/discussions/25191#discussioncomment-3246770, I believe github.event.pull_request.head.sha is what we want.

@github-actions github-actions bot added the type-infra A repository infrastructure change or enhancement label Jun 16, 2023
@elliette elliette requested a review from annagrin June 17, 2023 00:14
Copy link
Contributor

@annagrin annagrin left a comment

Choose a reason for hiding this comment

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

LGTM!

@elliette elliette merged commit b58edb7 into dart-lang:master Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-infra A repository infrastructure change or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants