Merge pull request #19264 from github/coadaflorin-actions-docs-patch

Update codeql-library-for-actions.rst
This commit is contained in:
Aditya Sharad
2025-04-09 21:46:28 +05:30
committed by GitHub

View File

@@ -121,9 +121,9 @@ See the GitHub Actions documentation on `workflows <https://docs.github.com/en/a
- ``getAJob()`` - Gets a job within the ``jobs`` mapping of this workflow.
- ``getEnv()`` - Gets an ``env`` mapping within this workflow declaring workflow-level environment variables, if any.
- ``getJob(string jobId)`` - Gets a job within the ``jobs`` mapping of this workflow with the given job ID.
- ``getOn()``` - Gets the ``on`` mapping defining the events that trigger this workflow.
- ``getOn()`` - Gets the ``on`` mapping defining the events that trigger this workflow.
- ``getPermissions()`` - Gets a ``permissions`` mapping within this workflow declaring workflow-level token permissions, if any.
- ``getStrategy()``` - Gets a ``strategy`` mapping for the jobs in this workflow, if any.
- ``getStrategy()`` - Gets a ``strategy`` mapping for the jobs in this workflow, if any.
- ``getName()`` - Gets the name of this workflow, if defined within the workflow.
The following example lists all jobs in a workflow with the name declaration ``name: test``: