`github.repository.default_branch` is not a valid context variable, and GitHub doesn't have a context or environment variable containing the default branch. It does have `github.ref` and `$GITHUB_REF`, which contains the default branch _reference_ (as in `refs/heads/<branch>`), so we can use that and remove the `refs/heads/` prefix. PR-URL: https://github.com/nodejs/node/pull/38998 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> |
||
|---|---|---|
| .. | ||
| auto-start-ci.yml | ||
| build-tarball.yml | ||
| build-windows.yml | ||
| close-stalled.yml | ||
| comment-labeled.yml | ||
| commit-queue.yml | ||
| coverage-linux.yml | ||
| coverage-windows.yml | ||
| daily.yml | ||
| label-pr.yml | ||
| license-builder.yml | ||
| linters.yml | ||
| misc.yml | ||
| notify-force-push.yml | ||
| remark-lint-problem-matcher.json | ||
| test-asan.yml | ||
| test-linux.yml | ||
| test-macos.yml | ||