chore: Skip matrix notify for events from myself

This commit is contained in:
Christian Kußowski 2026-03-09 17:09:45 +01:00
parent 85c21e61c3
commit 47ac9c8f97
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ on:
jobs: jobs:
notify: notify:
if: ${{ (github.event_name == 'issues' && github.event.issue.user.login != 'krille-chan') || (github.event_name == 'pull_request_target' && github.event.pull_request.user.login != 'krille-chan') }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Send notification to Matrix room - name: Send notification to Matrix room

View file

@ -1,7 +1,7 @@
import 'package:async/async.dart' show Result;
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:async/async.dart' show Result;
import 'package:cross_file/cross_file.dart'; import 'package:cross_file/cross_file.dart';
import 'package:matrix/matrix.dart' hide Result; import 'package:matrix/matrix.dart' hide Result;
import 'package:mime/mime.dart'; import 'package:mime/mime.dart';