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

ci: make sure to exit on maitenance milestone failure #7656

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

benelan
Copy link
Member

@benelan benelan commented Sep 1, 2023

Related Issue: #7531

Summary

The action correctly determined that it was a maintenance milestone and set the error message. However, it looks like core.setFailed() sets the exit code but doesn't actually exit. And then the else block with process.exit(0) overrode the exit code in the next iteration. Explicitly exiting will fix the issue.

@github-actions github-actions bot added the chore Issues with changes that don't modify src or test files. label Sep 1, 2023
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

🤖✋🚫

@benelan benelan added skip visual snapshots Pull requests that do not need visual regression testing. low risk Issues with low risk for consideration in low risk milestones labels Sep 1, 2023
@benelan benelan merged commit 6dd8ab3 into main Sep 1, 2023
@benelan benelan deleted the benelan/milestone-action-exit branch September 1, 2023 19:20
@github-actions github-actions bot added this to the 1.7.1 Maintenance Release milestone Sep 1, 2023
benelan added a commit that referenced this pull request Sep 1, 2023
* origin/main: (35 commits)
  ci: make sure to exit on maitenance milestone failure (#7656)
  chore: release next
  fix(block): provide textual name on collapse and expansion to AT (#7652)
  chore: release main (#7571)
  chore: release next
  fix(block, block-section): improve a11y (#7557)
  chore: release next
  fix: add drag styles for improved UX (#7644)
  fix(input, input-number): correctly sanitize numbers when pasting string with 'e' (#7648)
  chore: release next
  feat(flow): add support for custom flow-item elements (#7608)
  chore: release next
  fix(list, sortable-list, value-list): Emit calciteListOrderChange when dragging between lists (#7614)
  feat(input-number): add integer property (#7646)
  chore: release next
  fix(accordion, accordion-item): improve a11y (#7560)
  refactor(stepper, stepper-item): `getElementProp` is refactored out in favor of inheritable props set directly on parent (#7593)
  docs(contributing): update the commit message format example URL (#7641)
  chore: release next
  feat(input-date-picker): normalize year to current century for user typed values only (#7638)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Issues with changes that don't modify src or test files. low risk Issues with low risk for consideration in low risk milestones skip visual snapshots Pull requests that do not need visual regression testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants