discourse/.github/workflows
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
..
check-pr-body.yml DEV: Update dependabot commit-message splitting (#30721) 2025-01-10 20:58:50 +00:00
dependabot-pnpm-dedupe.yml DEV: Fix pnpm dedupe workflow branch matching (#31322) 2025-02-12 23:22:26 +01:00
labeler.yml DEV: Only enable our self hosted runners on the discourse/discourse repo (#29024) 2024-09-30 11:18:20 +08:00
licenses.yml DEV: Update workflow concurrency controls to use github.ref_name (#32524) 2025-05-01 16:02:08 +10:00
linting.yml DEV: Update workflow concurrency controls to use github.ref_name (#32524) 2025-05-01 16:02:08 +10:00
migration-tests.yml DEV: Update workflow concurrency controls to use github.ref_name (#32524) 2025-05-01 16:02:08 +10:00
release-notes.yml DEV: Use github hosted runners for simple workflows (#30576) 2025-01-06 14:15:16 +08:00
stale-pr-closer.yml DEV: Use github hosted runners for simple workflows (#30576) 2025-01-06 14:15:16 +08:00
tests.yml DEV: Update workflow concurrency controls to use github.ref_name (#32524) 2025-05-01 16:02:08 +10:00