| # 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@b64355ae6ca0b5d484f0106a033dd1388965d06d |
| with: |
| sdk: dev |
| - id: checkout |
| name: Checkout repository |
| uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 |
| - name: Run proper release test |
| run: dart test test/proper_release_test.dart |
| working-directory: test_common |