diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d637ffdb..6a78a32f 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -35,9 +35,18 @@ Provide a brief description of the PR immediately below this comment, if the tit - [ ] Did you state the UI / API impact? - [ ] Did you specify the Verilog / AGFI compatibility impact? -- [ ] (If applicable) Did you regenerate and publicly share default AGFIs? +- [ ] If applicable, did you regenerate and publicly share default AGFIs? + +- [ ] If applicable, did you apply the `ci:fpga-deploy` label? -- [ ] (If applicable) Did you mark the PR as "Please Backport"? +- [ ] If applicable, did you apply the `Please Backport` label? ### Reviewer Checklist (only modified by reviewer) - [ ] Is the title suitable for inclusion in the changelog and does the PR have a `changelog:` label? diff --git a/.github/workflows/firesim-run-tests.yml b/.github/workflows/firesim-run-tests.yml index a393cdfe..f9322b03 100644 --- a/.github/workflows/firesim-run-tests.yml +++ b/.github/workflows/firesim-run-tests.yml @@ -88,6 +88,9 @@ jobs: uses: ./.github/actions/initial-scala-compile build-default-workloads: + # Conditionally build rootfs images only if deploying to FPGA to save CI resources + # https://stackoverflow.com/questions/62325286/run-github-actions-when-pull-requests-have-a-specific-label/62331521#comment122159108_62331521 + if: contains(github.event.pull_request.labels.*.name, 'ci:fpga-deploy') name: build-default-workloads needs: [setup-manager] runs-on: ${{ github.run_id }} @@ -151,12 +154,12 @@ jobs: test-name: "CITests" run-basic-linux-poweroff: + if: contains(github.event.pull_request.labels.*.name, 'ci:fpga-deploy') name: run-basic-linux-poweroff needs: [build-default-workloads] runs-on: ${{ github.run_id }} env: TERM: xterm-256-color - environment: use-fpgas steps: - uses: actions/checkout@v2 - name: Run linux-poweroff test