mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-21 05:54:19 +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. |
||
|---|---|---|
| .. | ||
| check-pr-body.yml | ||
| dependabot-pnpm-dedupe.yml | ||
| labeler.yml | ||
| licenses.yml | ||
| linting.yml | ||
| migration-tests.yml | ||
| release-notes.yml | ||
| stale-pr-closer.yml | ||
| tests.yml | ||