1
0
mirror of synced 2026-01-17 21:01:42 -05:00
Files
docs/data/variables
Aditya Sharad 8154eb2f31 Code Scanning: Specify the recommended CodeQL version for each GHES version
Create new variables for the GHES version, and the CodeQL CLI version
recommended along with each GHES version.

Refactor the docs on installing the CodeQL CLI in a third-party CI system,
to use the CodeQL and GHES version from the variables.

These variables will need to be kept up to date with future GHES+CodeQL versions.
2022-06-22 21:36:11 +00:00
..
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2020-09-27 14:10:11 +02:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00
2021-10-15 15:41:33 -05:00

Variables

Variables are short strings of reusable text.

The YAML files in this directory each contain multiple variables.

The path, filename, and keys within each YAML file determine what its path will be in the data object.

For example, given a file data/variables/foo/bar.yml:

# multiple short strings in one file
meaning_of_life: 42

# and they can be nested if needed
nested:
  values:
    too: Yes!

Its values would be accessible as:

{% data foo.bar.meaning_of_life %}

{% data foo.bar.nested.values.too %}