summaryrefslogtreecommitdiff
path: root/doc/development/tutorials/examples/autodoc_intenum.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-02-15 03:35:15 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-02-15 03:35:49 +0000
commit607908924c5e34cc004c6b8278641f37b24e63cf (patch)
tree67378a5a28672d16fa2c6260fca75db500d4373e /doc/development/tutorials/examples/autodoc_intenum.py
parentff852bc7c31f48e66100e4647749fc199d92ca79 (diff)
downloadsphinx-git-607908924c5e34cc004c6b8278641f37b24e63cf.tar.gz
Always cancel in-progress workflows on new commits
The current ``github.head_ref || github.run_id`` syntax only cancels in-progress GitHub Actions runs triggered by pull requests, as ``head_ref`` is only defined for pull requests, and ``run_id`` is always unique. This changes to using ``ref``, which is the name of the branch or tag linked to the commit, meaning that in-progress jobs will be cancelled on pushes to a branch.
Diffstat (limited to 'doc/development/tutorials/examples/autodoc_intenum.py')
0 files changed, 0 insertions, 0 deletions