discourse/.github
Alan Guo Xiang Tan 427d4d2b53
DEV: Update workflow concurrency controls to use github.ref_name (#32524)
`github.ref_name` is

> The short ref name of the branch or tag that triggered the workflow
run. This value matches the branch or tag name shown on GitHub. For
example, feature-branch-1.
> 
> For pull requests, the format is <pr_number>/merge.

Not sure why we use `github.run_number` when it is a unique number for
each run of a workflow. `github.head_ref` is only present on pull
request events so it is blank when the workflow is ran on
other branches.

By updating the key to `github.ref_name` + `github.job` we ensure that
only one workflow will be running for a given PR or branch.
2025-05-01 16:02:08 +10:00
..
workflows DEV: Update workflow concurrency controls to use github.ref_name (#32524) 2025-05-01 16:02:08 +10:00
dependabot.yml DEV: Group prosemirror dependabot updates (#32041) 2025-03-27 17:19:02 +01:00
labeler.yml DEV: Add 'i18n' label to PRs which include changes related to i18n 2024-01-16 15:00:19 +01:00