mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-18 22:39:29 +08:00
`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. |
||
|---|---|---|
| .. | ||
| workflows | ||
| dependabot.yml | ||
| labeler.yml | ||