nextsimhub / nextsimdg

neXtSIM_DG : next generation sea-ice model with DG
https://nextsim-dg.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
10 stars 13 forks source link

Automatically close linked issues (also in develop) #656

Closed einola closed 3 months ago

einola commented 3 months ago

Automatically close linked issues (also in develop)

Fixes #619

Task List


Change Description

I updated the PR template to remove the "\" in "Fixes #(your issue number). This should mean that the issue closes automatically. Also fixed a bit the instructions for "Change Description".


Test Description

Can only be tested via a PR (this one!)


Documentation Impact

N/A


Other Details

N/A


Pre-Request Checklist

jwallwork23 commented 3 months ago

I'm surprised the Doxygen job runs because it is set to be triggered on a push to main, rather than a PR. I must've misunderstood something.

There are two sets of tests being run here: one from main and one from develop.

Given that Doxygen runs, the following snippet explains why there are two sets of tests: we have a "push" to main (in the sense above) and a PR open to be merged into develop.

on:
  push:
    branches: [ main, develop ]
  pull_request:
    branches: [ main, develop ]

What doesn't make sense to me is that it would run the old version of the tests from main as well as those from develop, rather than just running two sets of tests as in develop.