Evaluate expressions in workflows and actions - GitHub Docs
Example using a string. contains('Hello world', 'llo') returns true . Example ... Example matching an array of strings. Instead of writing github ...
Example using a string. contains('Hello world', 'llo') returns true . Example ... Example matching an array of strings. Instead of writing github ...
About code search query structure. The search syntax in this article only applies to searching code with GitHub code search. Note that the syntax and qualifiers for searching for non-code content, such as issues, users, and discussions, is not the same as the syntax for code search.
About YAML syntax for workflows. Workflow files use YAML syntax, and must have either a .yml or .yaml file extension. If you' ...
Finding example code. Reuse people's code. Local development.Save repositories with stars.
You can use workflow commands when running shell commands in a workflow or in an action's code.
Find information about contexts available in GitHub Actions workflows, including available properties, access methods, and usage examples.
For more information, see Choosing self-hosted runners. You can mix strings and variables in an array. For example: on: workflow_dispatch: inputs: ...
GitHub analyzes your code and shows you workflow templates that might be useful for your repository. For example, if your repository contains Node.js code, you'll see suggestions for Node.js projects.
For example, the HTTP method for the "List repository issues" endpoint is GET ." Where possible, the GitHub REST API strives to use an appropriate HTTP method ...
About merge methods on GitHub. You can allow contributors with push access to your repository to merge their pull requests with different merge options or enforce a specific merge method for all of your repository's pull requests.
You can create actions to perform tasks in your repository. If you're making a custom action, it will require a metadata file that uses YAML syntax.
For example: Copilot prompt. Write a Go function that finds all dates in a string and returns them in an array. Dates can be formatted like: * 05/02/24 * 05 ...