Skip to content

Conversation

@Hweinstock
Copy link
Contributor

@Hweinstock Hweinstock commented Dec 9, 2024

Problem

It appears that on push events the head_ref is an empty string, which is not a valid branch name.

Solution

  • Only validate branch names on pull_request events, and use event info since its more consistent.

  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.

License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Hweinstock Hweinstock marked this pull request as ready for review December 9, 2024 20:09
@Hweinstock Hweinstock requested a review from a team as a code owner December 9, 2024 20:09
@Hweinstock Hweinstock enabled auto-merge (squash) December 9, 2024 20:29
@Hweinstock Hweinstock disabled auto-merge December 9, 2024 20:29
@Hweinstock Hweinstock merged commit 73d6dd6 into aws:master Dec 9, 2024
11 of 17 checks passed
karanA-aws pushed a commit to karanA-aws/aws-toolkit-vscode that referenced this pull request Jan 17, 2025
## Problem
It appears that on `push` events the `head_ref` is an empty string,
which is not a valid branch name.

## Solution
- Only validate branch names on pull_request events, and use event info
since its more consistent.

---

- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).

License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant