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

fix: Sets line ending to LF #2182

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

ReneHezser
Copy link
Contributor

Description

Static validation will fail with multi-line comments in bicep files, if the bicep file is saved with CRLF.

Closes #2181

Type of Change

  • Update to CI Environment or utlities (Non-module effecting changes)
  • Azure Verified Module updates:
    • Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:
      • Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
      • The bug was found by the module author, and no one has opened an issue to report it yet.
    • Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
    • Breaking changes and I have bumped the MAJOR version in version.json.
    • Update to documentation

Checklist

  • I'm sure there are no other open Pull Requests for the same update/change
  • I have run Set-AVMModule locally to generate the supporting module files.
  • My corresponding pipelines / checks run clean and green without any errors or warnings

@ReneHezser ReneHezser requested review from a team as code owners June 3, 2024 11:49
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Triage 🔍 Maintainers need to triage still label Jun 3, 2024

Important

The "Needs: Triage 🔍" label must be removed once the triage process is complete!

Tip

For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation.

Note

This label was added as per ITA06.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue label Jun 3, 2024

Note

The "Type: AVM 🅰️ ✌️ Ⓜ️" label was added as per ITA08BCP.

@ReneHezser
Copy link
Contributor Author

Should we add this as a recommendation for the contribution guide as well?

@ReneHezser ReneHezser changed the title Sets line ending to LF [fix] Sets line ending to LF Jun 3, 2024
@ChrisSidebotham ChrisSidebotham changed the title [fix] Sets line ending to LF fix: Sets line ending to LF Jun 3, 2024
@ChrisSidebotham ChrisSidebotham merged commit 62ddc42 into Azure:main Jun 3, 2024
9 of 11 checks passed
@ChrisSidebotham ChrisSidebotham removed the Needs: Triage 🔍 Maintainers need to triage still label Jun 3, 2024
@ChrisSidebotham ChrisSidebotham self-assigned this Jun 3, 2024
@ReneHezser ReneHezser deleted the line-ending-setting branch June 5, 2024 06:12
hundredacres pushed a commit to hundredacres/bicep-registry-modules that referenced this pull request Jun 19, 2024
## Description

Static validation will fail with multi-line comments in bicep files, if
the bicep file is saved with CRLF.

Closes Azure#2181 

## Type of Change

- [x] Update to CI Environment or utlities (Non-module effecting
changes)
- [ ] Azure Verified Module updates:
- [ ] Bugfix containing backwards compatible bug fixes, and I have NOT
bumped the MAJOR or MINOR version in `version.json`:
- [x] Someone has opened a bug report issue, and I have included "Closes
#{bug_report_issue_number}" in the PR description.
- [ ] The bug was found by the module author, and no one has opened an
issue to report it yet.
- [ ] Feature update backwards compatible feature updates, and I have
bumped the MINOR version in `version.json`.
- [ ] Breaking changes and I have bumped the MAJOR version in
`version.json`.
  - [ ] Update to documentation

## Checklist

- [x] I'm sure there are no other open Pull Requests for the same
update/change
- [ ] I have run `Set-AVMModule` locally to generate the supporting
module files.
- [ ] My corresponding pipelines / checks run clean and green without
any errors or warnings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: static validation can fail
2 participants