| # A CI workflow to make sure a release is properly finished. |
| |
| name: Release Reminder |
| |
| on: |
| pull_request: |
| types: [synchronize, opened, reopened, labeled, unlabeled] |
| |
| jobs: |
| release-reminder: |
| if: ${{ !contains(github.event.*.labels.*.name, 'prepare-release') }} |
| name: Maybe prevent submission |
| runs-on: ubuntu-latest |
| steps: |
| - name: Setup Dart SDK |
| uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 |
| with: |
| sdk: dev |
| - id: checkout |
| name: Checkout repository |
| uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 |
| - name: Run proper release test |
| run: dart test test/proper_release_test.dart |
| working-directory: test_common |