1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Authenticating to Actions workflow with GitHub App (#36649)

Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
Co-authored-by: James Martin <jamesmartin@users.noreply.github.com>
This commit is contained in:
Sarah Edwards
2023-05-01 14:13:05 -07:00
committed by GitHub
parent 3bb2141466
commit 6b2352751e
9 changed files with 80 additions and 12 deletions

View File

@@ -550,6 +550,8 @@ jobs:
uses: ./.github/actions/my-private-repo/my-action
```
Alternatively, use a {% data variables.product.prodname_github_app %} instead of a {% data variables.product.pat_generic %} in order to ensure your workflow continues to run even if the {% data variables.product.pat_generic %} owner leaves. For more information, see "[AUTOTITLE](/apps/creating-github-apps/guides/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow)."
### `jobs.<job_id>.steps[*].run`
Runs command-line programs using the operating system's shell. If you do not provide a `name`, the step name will default to the text specified in the `run` command.