Add ci-done job
@@ -165,10 +165,22 @@ jobs:
retention-days: 2
if-no-files-found: error
+ # This job is only used to mark the CI as being done
+ #
+ # Allows us to add this as a required check in Github branch rules, as all the
+ # other jobs are subject to change
+ ci-done:
+ needs: [upload-coverage, linting, twemoji, pages]
+
+ runs-on: ubuntu-20.04
+
+ steps:
+ - name: Completed
+ run: echo "CI Completed"
+
deploy:
- # Only run on releases and if everything passes
if: github.event_name == 'release'
- needs: [upload-coverage, linting, twemoji, pages]
+ needs: [ci-done]
runs-on: ubuntu-20.04
