Skip to content
Merged
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
9 changes: 6 additions & 3 deletions .github/workflows/issue-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ jobs:
- name: Check if the comment is from the OP
id: check-op
run: |
OP=${{ github.event.issue.user.login }}
COMMENTER=${{ github.event.comment.user.login }}
OP=${GITHUB_EVENT_ISSUE_USER_LOGIN}
COMMENTER=${GITHUB_EVENT_COMMENT_USER_LOGIN}
if [ "$OP" = "$COMMENTER" ]; then
echo "op_comment=true" >> $GITHUB_ENV
else
echo "op_comment=false" >> $GITHUB_ENV
fi
env:
GITHUB_EVENT_ISSUE_USER_LOGIN: ${{ github.event.issue.user.login }}
GITHUB_EVENT_COMMENT_USER_LOGIN: ${{ github.event.comment.user.login }}
- name: Add 'Needs Attention' label if OP responded
if: env.op_comment == 'true'
uses: actions-ecosystem/action-add-labels@v1
Expand All @@ -48,4 +51,4 @@ jobs:
with:
labels: 'Needs Attention'
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
8 changes: 6 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,18 @@ jobs:
if: matrix.target == 'html'
run: |
melos exec \
--scope=${{ matrix.package }}* \
--scope=${MATRIX_PACKAGE}* \
--dir-exists="test" \
--fail-fast -- "flutter test --platform chrome"
env:
MATRIX_PACKAGE: ${{ matrix.package }}

- name: Run unit tests
if: matrix.target == 'io'
run: |
melos exec \
--scope=${{ matrix.package }}* \
--scope=${MATRIX_PACKAGE}* \
--dir-exists="test" \
--fail-fast -- "flutter test"
env:
MATRIX_PACKAGE: ${{ matrix.package }}
Loading