diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 95c8e149c20..d75fe1f170a 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -2,6 +2,3 @@ Please don't open issues for questions, but ask in our Discussions forum at http Mill installations via `coursier` or `cs` are unsupported. -Pull requests should be kept as drafts until ready for review and final merge, to avoid -being bottlenecked on the Github Actions budget of the Mill repo (Actions on draft PRs -will instead run on the author's Github Actions budget) \ No newline at end of file diff --git a/.github/workflows/draft-status.yml b/.github/workflows/draft-status.yml index bcc04877ebf..4c277496910 100644 --- a/.github/workflows/draft-status.yml +++ b/.github/workflows/draft-status.yml @@ -19,8 +19,8 @@ jobs: --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ --header 'content-type: application/json' \ --data '{ - "state": "pending", - "context": "Link to Draft CI", + "state": "{{ github.event.workflow_run.conclusion }}", + "context": "Link to Fork CI", "target_url": "${{ github.event.workflow_run.html_url }}" }' \ --fail-with-body diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 14469077d6a..ed862f35a90 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,8 +8,11 @@ name: Run Tests # - All tests on Linux/Java17 # - Fewer tests on Linux/Java11 and Windows/Java17 # - Fewest tests on Windows/Java11 + on: push: + branches: + - main pull_request: workflow_dispatch: @@ -23,7 +26,6 @@ jobs: # Jobs are listed in rough order of priority: if multiple jobs fail, the first job # in the list should be the one that's most worth looking into build-linux: - if: github.event.pull_request.draft == false uses: ./.github/workflows/run-mill-action.yml with: java-version: '11' @@ -31,7 +33,6 @@ jobs: populate_cache: true build-windows: - if: github.event.pull_request.draft == false uses: ./.github/workflows/run-mill-action.yml with: os: windows-latest @@ -40,7 +41,6 @@ jobs: populate_cache: true test-docs: - if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - uses: actions/checkout@v4