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

chore: add label automatically #338

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/add_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Add labels"

on:
pull_request_target:
types:
- opened
- edited
- synchronize
- reopened

jobs:
apply-label:
runs-on: ubuntu-latest
steps:
- run: echo ${{ steps.pr-files.outputs.changedFiles }}
- uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['Triage']
})
2 changes: 1 addition & 1 deletion packages/mix/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- Improved merge behavior between ShapeDecoration and BoxDecoration
- Fixed space token resolve on gap in flex attribute
- Added remaining params to callable specs and modifiers

## 1.1.2

- Chore: Changed the class modifier of the Spec class for code generation.
Expand Down
5 changes: 4 additions & 1 deletion packages/mix_generator/lib/mix_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ Builder dtoDefinition(BuilderOptions options) => SharedPartBuilder(
allowSyntaxErrors: true,
);

Builder classUtilityDefinition(BuilderOptions options) => SharedPartBuilder(
Builder classUtilityDefinition(
BuilderOptions options,
) =>
SharedPartBuilder(
[MixableClassUtilityGenerator()],
'class_utility',
allowSyntaxErrors: true,
Expand Down
Loading