1
0
mirror of synced 2026-01-07 18:01:41 -05:00

Merge branch 'main' into keyboard-fix

This commit is contained in:
Steve Ward
2022-10-05 11:39:06 -04:00
committed by GitHub
168 changed files with 297 additions and 254 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@@ -1,5 +1,6 @@
---
title: Creating a composite action
shortTitle: Create a composite action
intro: 'In this guide, you''ll learn how to build a composite action.'
redirect_from:
- /actions/creating-actions/creating-a-composite-run-steps-action
@@ -11,7 +12,6 @@ versions:
type: tutorial
topics:
- Action development
shortTitle: Composite action
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Creating a Docker container action
shortTitle: Create a Docker container action
intro: 'This guide shows you the minimal steps required to build a Docker container action. '
redirect_from:
- /articles/creating-a-docker-container-action
@@ -15,7 +16,6 @@ type: tutorial
topics:
- Action development
- Docker
shortTitle: Docker container action
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Creating a JavaScript action
shortTitle: Create a JavaScript action
intro: 'In this guide, you''ll learn how to build a JavaScript action using the actions toolkit.'
redirect_from:
- /articles/creating-a-javascript-action
@@ -15,7 +16,6 @@ type: tutorial
topics:
- Action development
- JavaScript
shortTitle: JavaScript action
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,6 +1,6 @@
---
title: Releasing and maintaining actions
shortTitle: Releasing and maintaining actions
shortTitle: Release and maintain actions
intro: You can leverage automation and open source best practices to release and maintain actions.
type: tutorial
topics:

View File

@@ -1,6 +1,6 @@
---
title: Setting exit codes for actions
shortTitle: Setting exit codes
shortTitle: Set exit codes
intro: 'You can use exit codes to set the status of an action. {% data variables.product.prodname_dotcom %} displays statuses to indicate passing or failing actions.'
redirect_from:
- /actions/building-actions/setting-exit-codes-for-actions

View File

@@ -1,6 +1,6 @@
---
title: Deploying to your cloud provider
shortTitle: Deploying to your cloud provider
shortTitle: Deploy to your cloud provider
intro: 'You can deploy to various cloud providers, such as AWS, Azure, and GKE.'
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Deploying Xcode applications
shortTitle: Deploying Xcode applications
shortTitle: Deploy Xcode applications
intro: 'You can sign Xcode apps within your continuous integration (CI) workflow by installing an Apple code signing certificate on {% data variables.product.prodname_actions %} runners.'
versions:
fpt: '*'

View File

@@ -1,5 +1,6 @@
---
title: Installing an Apple certificate on macOS runners for Xcode development
shortTitle: Sign Xcode applications
intro: 'You can sign Xcode apps within your continuous integration (CI) workflow by installing an Apple code signing certificate on {% data variables.product.prodname_actions %} runners.'
redirect_from:
- /actions/guides/installing-an-apple-certificate-on-macos-runners-for-xcode-development
@@ -13,7 +14,6 @@ type: tutorial
topics:
- CI
- Xcode
shortTitle: Sign Xcode applications
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,6 +1,6 @@
---
title: Managing your deployments
shortTitle: Managing your deployments
shortTitle: Manage your deployments
intro: You can review the past activity of your deployments.
versions:
fpt: '*'

View File

@@ -1,5 +1,6 @@
---
title: Viewing deployment history
shortTitle: View deployment history
intro: View current and previous deployments for your repository.
versions:
fpt: '*'
@@ -8,7 +9,6 @@ versions:
ghec: '*'
topics:
- API
shortTitle: View deployment history
redirect_from:
- /developers/overview/viewing-deployment-history
- /actions/deployment/viewing-deployment-history

View File

@@ -1,6 +1,6 @@
---
title: About security hardening with OpenID Connect
shortTitle: About security hardening with OpenID Connect
shortTitle: Security hardening with OpenID Connect
intro: OpenID Connect allows your workflows to exchange short-lived tokens directly from your cloud provider.
miniTocMaxHeadingLevel: 4
versions:

View File

@@ -1,6 +1,6 @@
---
title: Configuring OpenID Connect in Amazon Web Services
shortTitle: Configuring OpenID Connect in Amazon Web Services
shortTitle: OpenID Connect in AWS
intro: Use OpenID Connect within your workflows to authenticate with Amazon Web Services.
miniTocMaxHeadingLevel: 3
versions:

View File

@@ -1,6 +1,6 @@
---
title: Configuring OpenID Connect in Azure
shortTitle: Configuring OpenID Connect in Azure
shortTitle: OpenID Connect in Azure
intro: Use OpenID Connect within your workflows to authenticate with Azure.
miniTocMaxHeadingLevel: 3
versions:

View File

@@ -1,6 +1,6 @@
---
title: Configuring OpenID Connect in cloud providers
shortTitle: Configuring OpenID Connect in cloud providers
shortTitle: OpenID Connect in cloud providers
intro: Use OpenID Connect within your workflows to authenticate with cloud providers.
miniTocMaxHeadingLevel: 3
versions:

View File

@@ -1,6 +1,6 @@
---
title: Configuring OpenID Connect in Google Cloud Platform
shortTitle: Configuring OpenID Connect in Google Cloud Platform
shortTitle: OpenID Connect in Google Cloud Platform
intro: Use OpenID Connect within your workflows to authenticate with Google Cloud Platform.
miniTocMaxHeadingLevel: 3
versions:

View File

@@ -1,6 +1,6 @@
---
title: Configuring OpenID Connect in HashiCorp Vault
shortTitle: Configuring OpenID Connect in HashiCorp Vault
shortTitle: OpenID Connect in HashiCorp Vault
intro: Use OpenID Connect within your workflows to authenticate with HashiCorp Vault.
miniTocMaxHeadingLevel: 3
versions:

View File

@@ -1,6 +1,6 @@
---
title: Security hardening your deployments
shortTitle: Security hardening your deployments
shortTitle: Security harden deployments
intro: Use OpenID Connect within your workflows to authenticate with your cloud provider.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Using OpenID Connect with reusable workflows
shortTitle: Using OpenID Connect with reusable workflows
shortTitle: OpenID Connect with reusable workflows
intro: You can use reusable workflows with OIDC to standardize and security harden your deployment steps.
miniTocMaxHeadingLevel: 3
redirect_from:

View File

@@ -1,6 +1,6 @@
---
title: Targeting different environments
shortTitle: Targeting different environments
shortTitle: Target different environments
intro: You can configure environments with protection rules and secrets. A workflow job that references an environment must follow any protection rules for the environment before running or accessing the environment's secrets.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: 'Using concurrency, expressions, and a test matrix'
shortTitle: 'Using concurrency, expressions, and a test matrix'
shortTitle: 'Use concurrency, expressions, and a test matrix'
intro: 'How to use advanced {% data variables.product.prodname_actions %} features for continuous integration (CI).'
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Using scripts to test your code on a runner
shortTitle: Using scripts to test your code on a runner
shortTitle: Use scripts to test your code on a runner
intro: 'How to use essential {% data variables.product.prodname_actions %} features for continuous integration (CI).'
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Using the GitHub CLI on a runner
shortTitle: Using the GitHub CLI on a runner
shortTitle: Use the GitHub CLI on a runner
intro: 'How to use advanced {% data variables.product.prodname_actions %} features for continuous integration (CI).'
versions:
fpt: '*'

View File

@@ -1,5 +1,6 @@
---
title: Autoscaling with self-hosted runners
shortTitle: Autoscale self-hosted runners
intro: You can automatically scale your self-hosted runners in response to webhook events.
versions:
fpt: '*'

View File

@@ -1,5 +1,6 @@
---
title: Configuring the self-hosted runner application as a service
shortTitle: Run the runner app as a service
intro: You can configure the self-hosted runner application as a service to automatically start the runner application when the machine starts.
redirect_from:
- /actions/automating-your-workflow-with-github-actions/configuring-the-self-hosted-runner-application-as-a-service
@@ -10,7 +11,6 @@ versions:
ghec: '*'
type: tutorial
defaultPlatform: linux
shortTitle: Run runner app on startup
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Hosting your own runners
shortTitle: Self-hosted runners
intro: You can create self-hosted runners to run workflows in a highly customizable environment.
redirect_from:
- /github/automating-your-workflow-with-github-actions/hosting-your-own-runners

View File

@@ -1,5 +1,6 @@
---
title: Managing access to self-hosted runners using groups
shortTitle: Manage access with runner groups
intro: You can use policies to limit access to self-hosted runners that have been added to an organization or enterprise.
redirect_from:
- /actions/hosting-your-own-runners/managing-access-to-self-hosted-runners
@@ -9,7 +10,6 @@ versions:
ghae: '*'
ghec: '*'
type: tutorial
shortTitle: Using runner groups
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,6 +1,6 @@
---
title: Finding and customizing actions
shortTitle: Finding and customizing actions
shortTitle: Find and customize actions
intro: 'Actions are the building blocks that power your workflow. A workflow can contain actions created by the community, or you can create your own actions directly within your application''s repository. This guide will show you how to discover, use, and customize actions.'
redirect_from:
- /actions/automating-your-workflow-with-github-actions/using-github-marketplace-actions

View File

@@ -1,6 +1,6 @@
---
title: Understanding GitHub Actions
shortTitle: Understanding GitHub Actions
shortTitle: Understand GitHub Actions
intro: 'Learn the basics of {% data variables.product.prodname_actions %}, including core concepts and essential terminology.'
miniTocMaxHeadingLevel: 3
redirect_from:

View File

@@ -1,5 +1,6 @@
---
title: Adding labels to issues
shortTitle: Add labels to issues
intro: 'You can use {% data variables.product.prodname_actions %} to automatically label issues.'
redirect_from:
- /actions/guides/adding-labels-to-issues

View File

@@ -1,5 +1,6 @@
---
title: Closing inactive issues
shortTitle: Close inactive issues
intro: 'You can use {% data variables.product.prodname_actions %} to comment on or close issues that have been inactive for a certain period of time.'
redirect_from:
- /actions/guides/closing-inactive-issues

View File

@@ -1,6 +1,6 @@
---
title: Managing issues and pull requests
shortTitle: Managing issues and pull requests
shortTitle: Manage issues and pull requests
intro: 'You can automatically manage your issues and pull requests using {% data variables.product.prodname_actions %} workflows.'
versions:
fpt: '*'

View File

@@ -1,5 +1,6 @@
---
title: Scheduling issue creation
shortTitle: Schedule issue creation
intro: 'You can use {% data variables.product.prodname_actions %} to create an issue on a regular basis for things like daily meetings or quarterly reviews.'
redirect_from:
- /actions/guides/scheduling-issue-creation

View File

@@ -1,5 +1,6 @@
---
title: Canceling a workflow
shortTitle: Cancel a workflow
intro: 'You can cancel a workflow run that is in progress. When you cancel a workflow run, {% data variables.product.prodname_dotcom %} cancels all jobs and steps that are a part of that workflow.'
versions:
fpt: '*'

View File

@@ -1,5 +1,6 @@
---
title: Deleting a workflow run
shortTitle: Delete a workflow run
intro: 'You can delete a workflow run that has been completed, or is more than two weeks old.'
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Managing workflow runs
shortTitle: Managing workflow runs
shortTitle: Manage workflow runs
intro: 'You can re-run or cancel a workflow, {% ifversion fpt or ghes or ghae %}review deployments, {% endif %}view billable job execution minutes, and download artifacts.'
redirect_from:
- /actions/configuring-and-managing-workflows/managing-a-workflow-run

View File

@@ -1,5 +1,6 @@
---
title: Re-running workflows and jobs
shortTitle: Re-run workflows and jobs
intro: 'You can re-run a workflow run{% ifversion re-run-jobs %}, all failed jobs in a workflow run, or specific jobs in a workflow run{% endif %} up to 30 days after its initial run.'
permissions: People with write permissions to a repository can re-run workflows in the repository.
miniTocMaxHeadingLevel: 3

View File

@@ -1,5 +1,6 @@
---
title: Reviewing deployments
shortTitle: Review deployments
intro: You can approve or reject jobs awaiting review.
product: '{% data reusables.gated-features.environments %}'
versions:

View File

@@ -1,6 +1,6 @@
---
title: Migrating to GitHub Actions
shortTitle: Migrating to GitHub Actions
shortTitle: Migrate to GitHub Actions
intro: 'Learn how to migrate your existing CI/CD workflows to {% data variables.product.prodname_actions %}.'
versions:
fpt: '*'

View File

@@ -1,5 +1,6 @@
---
title: Adding a workflow status badge
shortTitle: Add a status badge
intro: You can display a status badge in your repository to indicate the status of your workflows.
redirect_from:
- /actions/managing-workflow-runs/adding-a-workflow-status-badge
@@ -8,7 +9,6 @@ versions:
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Add a status badge
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Enabling debug logging
shortTitle: Enable debug logging
intro: 'If the workflow logs do not provide enough detail to diagnose why a workflow, job, or step is not working as expected, you can enable additional debug logging.'
redirect_from:
- /actions/managing-workflow-runs/enabling-debug-logging

View File

@@ -1,12 +1,12 @@
---
title: Notifications for workflow runs
shortTitle: Notifications for workflow runs
intro: You can subscribe to notifications about workflow runs that you trigger.
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Notifications
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Using the visualization graph
shortTitle: Visualization graph
intro: Every workflow run generates a real-time graph that illustrates the run progress. You can use this graph to monitor and debug workflows.
redirect_from:
- /actions/managing-workflow-runs/using-the-visualization-graph
@@ -8,7 +9,6 @@ versions:
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Use the visualization graph
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Using workflow run logs
shortTitle: Workflow run logs
intro: 'You can view, search, and download the logs for each job in a workflow run.'
redirect_from:
- /actions/managing-workflow-runs/using-workflow-run-logs

View File

@@ -1,12 +1,12 @@
---
title: Viewing job execution time
shortTitle: View job execution time
intro: 'You can view the execution time of a job, including the billable minutes that a job accrued.'
redirect_from:
- /actions/managing-workflow-runs/viewing-job-execution-time
versions:
fpt: '*'
ghec: '*'
shortTitle: View job execution time
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Viewing workflow run history
shortTitle: Workflow run history
intro: You can view logs for each run of a workflow. Logs include the status for each job and step in a workflow.
redirect_from:
- /actions/managing-workflow-runs/viewing-workflow-run-history
@@ -8,7 +9,6 @@ versions:
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: View workflow run history
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,6 +1,6 @@
---
title: Publishing packages
shortTitle: Publishing packages
shortTitle: Publish packages
intro: 'You can automatically publish packages using {% data variables.product.prodname_actions %}.'
versions:
fpt: '*'

View File

@@ -1,5 +1,6 @@
---
title: Publishing Docker images
shortTitle: Publish Docker images
intro: 'You can publish Docker images to a registry, such as Docker Hub or {% data variables.product.prodname_registry %}, as part of your continuous integration (CI) workflow.'
redirect_from:
- /actions/language-and-framework-guides/publishing-docker-images

View File

@@ -1,5 +1,6 @@
---
title: Publishing Java packages with Gradle
shortTitle: Publish Java packages with Gradle
intro: You can use Gradle to publish Java packages to a registry as part of your continuous integration (CI) workflow.
redirect_from:
- /actions/language-and-framework-guides/publishing-java-packages-with-gradle
@@ -15,7 +16,6 @@ topics:
- Publishing
- Java
- Gradle
shortTitle: Java packages with Gradle
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Publishing Java packages with Maven
shortTitle: Publish Java packages with Maven
intro: You can use Maven to publish Java packages to a registry as part of your continuous integration (CI) workflow.
redirect_from:
- /actions/language-and-framework-guides/publishing-java-packages-with-maven
@@ -15,7 +16,6 @@ topics:
- Publishing
- Java
- Maven
shortTitle: Java packages with Maven
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Publishing Node.js packages
shortTitle: Publish Node.js packages
intro: You can publish Node.js packages to a registry as part of your continuous integration (CI) workflow.
redirect_from:
- /actions/automating-your-workflow-with-github-actions/publishing-nodejs-packages
@@ -16,7 +17,6 @@ topics:
- Publishing
- Node
- JavaScript
shortTitle: Node.js packages
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,6 +1,6 @@
---
title: Creating PostgreSQL service containers
shortTitle: PostgreSQL service containers
shortTitle: Create PostgreSQL service containers
intro: You can create a PostgreSQL service container to use in your workflow. This guide shows examples of creating a PostgreSQL service for jobs that run in containers or directly on the runner machine.
redirect_from:
- /actions/automating-your-workflow-with-github-actions/creating-postgresql-service-containers

View File

@@ -1,6 +1,6 @@
---
title: Creating Redis service containers
shortTitle: Redis service containers
shortTitle: Create Redis service containers
intro: You can use service containers to create a Redis client in your workflow. This guide shows examples of creating a Redis service for jobs that run in containers or directly on the runner machine.
redirect_from:
- /actions/automating-your-workflow-with-github-actions/creating-redis-service-containers

View File

@@ -1,5 +1,6 @@
---
title: About GitHub-hosted runners
shortTitle: About GitHub-hosted runners
intro: '{% data variables.product.prodname_dotcom %} offers hosted virtual machines to run workflows. The virtual machine contains an environment of tools, packages, and settings available for {% data variables.product.prodname_actions %} to use.'
redirect_from:
- /articles/virtual-environments-for-github-actions
@@ -14,7 +15,6 @@ versions:
fpt: '*'
ghes: '*'
ghec: '*'
shortTitle: GitHub-hosted runners
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Connecting to a private network
shortTitle: Connect to a private network
intro: 'You can connect {% data variables.product.prodname_dotcom %}-hosted runners to resources on a private network, including package registries, secret managers, and other on-premises services.'
versions:
fpt: '*'

View File

@@ -1,11 +1,11 @@
---
title: Controlling access to larger runners
shortTitle: Control access to {% data variables.actions.hosted_runner %}s
intro: You can use policies to limit access to {% data variables.actions.hosted_runner %}s that have been added to an organization or enterprise.
product: '{% data reusables.gated-features.hosted-runners %}'
versions:
feature: 'actions-hosted-runners'
type: tutorial
shortTitle: Controlling access to {% data variables.actions.hosted_runner %}s
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,5 +1,6 @@
---
title: Using GitHub-hosted runners
shortTitle: GitHub-hosted runners
intro: You can use GitHub's runners to execute your GitHub Actions workflows.
versions:
fpt: '*'
@@ -12,7 +13,6 @@ children:
- /monitoring-your-current-jobs
- /customizing-github-hosted-runners
- /connecting-to-a-private-network
shortTitle: Use GitHub-hosted runners
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,9 +1,9 @@
---
title: Monitoring your current jobs
shortTitle: Monitor current jobs
intro: 'Monitor how {% data variables.product.prodname_dotcom %}-hosted runners are processing jobs in your organization or enterprise, and identify any related constraints.'
versions:
feature: github-runner-dashboard
shortTitle: Monitoring your current jobs
---
{% data reusables.actions.enterprise-beta %}

View File

@@ -1,11 +1,11 @@
---
title: Using larger runners
shortTitle: 'Larger runners'
intro: '{% data variables.product.prodname_dotcom %} offers larger runners with more RAM and CPU.'
miniTocMaxHeadingLevel: 3
product: '{% data reusables.gated-features.hosted-runners %}'
versions:
feature: 'actions-hosted-runners'
shortTitle: Using {% data variables.actions.hosted_runner %}s
---
## Overview of {% data variables.actions.hosted_runner %}s

View File

@@ -1,6 +1,6 @@
---
title: Assigning permissions to jobs
shortTitle: Assigning permissions to jobs
shortTitle: Assign permissions to jobs
intro: Modify the default permissions granted to `GITHUB_TOKEN`.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Choosing the runner for a job
shortTitle: Choosing the runner for a job
shortTitle: Choose the runner for a job
intro: Define the type of machine that will process a job in your workflow.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Defining outputs for jobs
shortTitle: Defining outputs for jobs
shortTitle: Define outputs for jobs
intro: Create a map of outputs for your jobs.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Running jobs in a container
shortTitle: Running jobs in a container
shortTitle: Run jobs in a container
intro: Use a container to run the steps in a job.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Setting default values for jobs
shortTitle: Setting default values for jobs
shortTitle: Set default values for jobs
intro: 'Define the default settings that will apply to all jobs in the workflow, or all steps in a job.'
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Using a matrix for your jobs
shortTitle: Using a matrix
shortTitle: Matrixes
intro: Create a matrix to define variations for each job.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Using concurrency
shortTitle: Using concurrency
shortTitle: Concurrency
intro: Run a single job at a time.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Using conditions to control job execution
shortTitle: Using conditions to control job execution
shortTitle: Use conditions to control job execution
intro: Prevent a job from running unless your conditions are met.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Using environments for jobs
shortTitle: Using environments for jobs
shortTitle: Environments
intro: Specify an environment for a job.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Using jobs in a workflow
shortTitle: Using jobs in a workflow
shortTitle: Use jobs in a workflow
intro: Use workflows to run multiple jobs.
versions:
fpt: '*'

View File

@@ -1,6 +1,6 @@
---
title: Caching dependencies to speed up workflows
shortTitle: Caching dependencies
shortTitle: Cache dependencies
intro: 'To make your workflows faster and more efficient, you can create and use caches for dependencies and other commonly reused files.'
redirect_from:
- /github/automating-your-workflow-with-github-actions/caching-dependencies-to-speed-up-workflows

View File

@@ -1,6 +1,6 @@
---
title: Creating starter workflows for your organization
shortTitle: Creating starter workflows
shortTitle: Create starter workflows
intro: Learn how you can create starter workflows to help people in your team add new workflows more easily.
redirect_from:
- /actions/configuring-and-managing-workflows/sharing-workflow-templates-within-your-organization

View File

@@ -1,6 +1,6 @@
---
title: Reusing workflows
shortTitle: Reusing workflows
shortTitle: Reuse workflows
intro: Learn how to avoid duplication when creating a workflow by reusing existing workflows.
redirect_from:
- /actions/learn-github-actions/reusing-workflows
@@ -105,7 +105,7 @@ You can define inputs and secrets, which can be passed from the caller workflow
on:
workflow_call:
inputs:
username:
config-path:
required: true
type: string
secrets:
@@ -133,10 +133,10 @@ You can define inputs and secrets, which can be passed from the caller workflow
runs-on: ubuntu-latest
environment: production
steps:
- uses: octo-org/my-action@v1
with:
username: ${{ inputs.username }}
token: ${{ secrets.envPAT }}
- uses: actions/labeler@v4
with:
repo-token: ${{ secrets.envPAT }}
configuration-path: ${{ inputs.config-path }}
```
{% endraw %}
In the example above, `envPAT` is an environment secret that's been added to the `production` environment. This environment is therefore referenced within the job.
@@ -162,7 +162,7 @@ name: Reusable workflow example
on:
workflow_call:
inputs:
username:
config-path:
required: true
type: string
secrets:
@@ -170,14 +170,13 @@ on:
required: true
jobs:
example_job:
name: Pass input and secrets to my-action
triage:
runs-on: ubuntu-latest
steps:
- uses: octo-org/my-action@v1
with:
username: ${{ inputs.username }}
token: ${{ secrets.token }}
- uses: actions/labeler@v4
with:
repo-token: ${{ secrets.token }}
configuration-path: ${{ inputs.config-path }}
```
{% endraw %}
@@ -256,7 +255,7 @@ When you call a reusable workflow, you can only use the following keywords in th
### Example caller workflow
This workflow file calls two workflow files. The second of these, `workflow-B.yml` (shown in the [example reusable workflow](#example-reusable-workflow)), is passed an input (`username`) and a secret (`token`).
This workflow file calls two workflow files. The second of these, `workflow-B.yml` (shown in the [example reusable workflow](#example-reusable-workflow)), is passed an input (`config-path`) and a secret (`token`).
{% raw %}
```yaml{:copy}
@@ -272,11 +271,14 @@ jobs:
uses: octo-org/example-repo/.github/workflows/workflow-A.yml@v1
call-workflow-passing-data:
permissions:
contents: read
pull-requests: write
uses: octo-org/example-repo/.github/workflows/workflow-B.yml@main
with:
username: mona
config-path: .github/labeler.yml
secrets:
token: ${{ secrets.TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
```
{% endraw %}

View File

@@ -1,6 +1,6 @@
---
title: 'Sharing workflows, secrets, and runners with your organization'
shortTitle: Sharing workflows with your organization
shortTitle: Share workflows with your organization
intro: 'Learn how you can use organization features to collaborate with your team, by sharing starter workflows, secrets, and self-hosted runners.'
redirect_from:
- /actions/learn-github-actions/sharing-workflows-with-your-organization

View File

@@ -1,6 +1,6 @@
---
title: Storing workflow data as artifacts
shortTitle: Storing workflow artifacts
shortTitle: Store artifacts
intro: Artifacts allow you to share data between jobs in a workflow and store data once that workflow has completed.
redirect_from:
- /articles/persisting-workflow-data-using-artifacts

View File

@@ -1,6 +1,6 @@
---
title: Triggering a workflow
shortTitle: Triggering a workflow
shortTitle: Trigger a workflow
intro: 'How to automatically trigger {% data variables.product.prodname_actions %} workflows'
versions:
fpt: '*'

View File

@@ -1,5 +1,6 @@
---
title: Using starter workflows
shortTitle: Use starter workflows
intro: '{% data variables.product.product_name %} provides starter workflows for a variety of languages and tooling.'
redirect_from:
- /articles/setting-up-continuous-integration-using-github-actions

View File

@@ -42,9 +42,9 @@ While {% data variables.product.prodname_github_codespaces %} provides the benef
While this option does not configure a development environment for you, it will allow you to make changes to your source code as needed while you wait for the service disruption to resolve.
## Option 4: Use Remote-Containers and Docker for a local containerized environment
## Option 4: Use the Dev Containers extension and Docker for a local containerized environment
If your repository has a `devcontainer.json`, consider using the [Remote-Containers extension](https://code.visualstudio.com/docs/remote/containers#_quick-start-open-a-git-repository-or-github-pr-in-an-isolated-container-volume) in {% data variables.product.prodname_vscode %} to build and attach to a local development container for your repository. The setup time for this option will vary depending on your local specifications and the complexity of your dev container setup.
If your repository has a `devcontainer.json`, consider using the [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) in {% data variables.product.prodname_vscode %} to build and attach to a local development container for your repository. The setup time for this option will vary depending on your local specifications and the complexity of your dev container setup. For more information, see "[Developing inside a container](https://code.visualstudio.com/docs/remote/containers#_quick-start-open-a-git-repository-or-github-pr-in-an-isolated-container-volume)" in the {% data variables.product.prodname_vscode_shortname %} documentation.
{% note %}

View File

@@ -79,4 +79,4 @@ For more information on deleting a codespace, see "[Deleting a codespace](/codes
{% data variables.product.prodname_github_codespaces %} is a cloud-based development environment and requires an internet connection. If you lose connection to the internet while working in a codespace, you will not be able to access your codespace. However, any uncommitted changes will be saved. When you have access to an internet connection again, you can connect to your codespace in the exact same state that it was left in. If you have an unstable internet connection, you should commit and push your changes often.
If you know that you will often be working offline, you can use your `devcontainer.json` file with the ["{% data variables.product.prodname_vscode %} Remote - Containers" extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) to build and attach to a local development container for your repository. For more information, see [Developing inside a container](https://code.visualstudio.com/docs/remote/containers) in the {% data variables.product.prodname_vscode %} documentation.
If you know that you will often be working offline, you can use your `devcontainer.json` file with the ["Dev Containers" extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) for {% data variables.product.prodname_vscode_shortname %} to build and attach to a local development container for your repository. For more information, see [Developing inside a container](https://code.visualstudio.com/docs/remote/containers) in the {% data variables.product.prodname_vscode %} documentation.

View File

@@ -41,13 +41,6 @@ The default container image that's used by {% data variables.product.prodname_gi
1. In the {% data variables.product.prodname_vscode_shortname %} editor, close any "Get Started" tabs that are displayed.
1. Open the `image-classifier.ipynb` notebook file.
1. Click the Python kernel link at the top right of the editor.
![Screenshot of the Python kernal link](/assets/images/help/codespaces/jupyter-python-kernel-link.png)
1. In the drop-down menu, choose the kernel in the directory `/opt/python/latest/bin/python`.
![Screenshot of the Python kernal drop-down menu](/assets/images/help/codespaces/jupyter-python-kernel-dropdown.png)
### Build the image classifier

View File

@@ -126,7 +126,7 @@ You can choose from a list of predefined configurations to create a dev containe
Using a predefined configuration is a great idea if you need some additional extensibility. You can also start with a predefined configuration and amend it as needed for your project. For more information about the definitions of predefined dev containers, see the [`devcontainers/images`](https://github.com/devcontainers/images/tree/main/src) repository.
You can add a predefined dev container configuration either while working in a codespace, or while working on a repository locally. To do this in {% data variables.product.prodname_vscode_shortname %} while you are working locally, and not connected to a codespace, you must have the "Remote - Containers" extension installed and enabled. For more information about this extension, see the [{% data variables.product.prodname_vs_marketplace_shortname %}](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers). The following procedure describes the process when you are using a codespace. The steps in {% data variables.product.prodname_vscode_shortname %} when you are not connected to a codespace are very similar.
You can add a predefined dev container configuration either while working in a codespace, or while working on a repository locally. To do this in {% data variables.product.prodname_vscode_shortname %} while you are working locally, and not connected to a codespace, you must have the "Dev Containers" extension installed and enabled. For more information about this extension, see the [{% data variables.product.prodname_vs_marketplace_shortname %}](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers). The following procedure describes the process when you are using a codespace. The steps in {% data variables.product.prodname_vscode_shortname %} when you are not connected to a codespace are very similar.
{% data reusables.codespaces.command-palette-container %}
1. Click the definition you want to use.

View File

@@ -30,6 +30,38 @@ If you create a codespace and it does not open:
If you still cannot create a codespace for a repository where {% data variables.product.prodname_github_codespaces %} is available, {% data reusables.codespaces.contact-support %}
### Codespace creation fails
If the creation of a codespace fails, it's likely to be due to a temporary infrastructure issue in the cloud - for example, a problem provisioning a virtual machine for the codespace. A less common reason for failure is if it takes longer than an hour to build the container. In this case, the build is cancelled and codespace creation will fail.
{% note %}
**Note:** A codespace that was not successfully created is never going to be usable and should be deleted. For more information, see "[Deleting a codespace](/codespaces/developing-in-codespaces/deleting-a-codespace)."
{% endnote %}
If you create a codespace and the creation fails:
1. Check {% data variables.product.prodname_dotcom %}'s [Status page](https://githubstatus.com) for any active incidents.
1. Go to [your {% data variables.product.prodname_github_codespaces %} page](https://github.com/codespaces), delete the codespace, and create a new codespace.
1. If the container is building, look at the logs that are streaming and make sure the build is not stuck. A container build that takes longer than one hour will be canceled, resulting in a failed creation.
One common scenario where this could happen is if you have a script running that is prompting for user input and waiting for an answer. If this is the case, remove the interactive prompt so that the build can complete non-interactively.
{% note %}
**Note**: To view the logs during a build:
* In the browser, click **View logs.**
![Screenshot of the Codespaces web UI with the View logs link emphasized](/assets/images/help/codespaces/web-ui-view-logs.png)
* In the VS Code desktop application, click **Building codespace** in the "Setting up remote connection" that's displayed.
![Screenshot of VS Code with the Building codespace link emphasized](/assets/images/help/codespaces/vs-code-building-codespace.png)
{% endnote %}
2. If you have a container that takes a long time to build, consider using prebuilds to speed up codespace creations. For more information, see "[Configuring prebuilds](/codespaces/prebuilding-your-codespaces/configuring-prebuilds#configuring-a-prebuild)."
## Deleting codespaces
The owner of a codespace has full control over it and only they can delete their codespaces. You cannot delete a codespace created by another user.

View File

@@ -18,7 +18,9 @@ topics:
{% data reusables.user-settings.oauth_apps %}
4. Select the {% data variables.product.prodname_oauth_app %} you want to modify.
![App selection](/assets/images/oauth-apps/oauth_apps_choose_app_post2dot12.png)
5. Click **Delete application**.
5. In the left sidebar, click **Advanced**.
![App selection](/assets/images/oauth-apps/oauth_apps_sidebar_advanced.png)
6. Click **Delete application**.
![Button to delete the application](/assets/images/oauth-apps/oauth_apps_delete_application.png)
6. Click **Delete this OAuth Application**.
7. Click **Delete this OAuth Application**.
![Button to confirm the deletion](/assets/images/oauth-apps/oauth_apps_delete_confirm.png)

View File

@@ -221,7 +221,7 @@ For Enterprise Marketing Pages, we may also use non-essential cookies to (i) ga
Our emails to users may contain a pixel tag, which is a small, clear image that can tell us whether or not you have opened an email and what your IP address is. We use this pixel tag to make our email communications more effective and to make sure we are not sending you unwanted email.
The length of time a cookie will stay on your browser or device depends on whether it is a “persistent” or “session” cookie. Session cookies will only stay on your device until you stop browsing. Persistent cookies stay until they expire or are deleted. The expiration time or retention period applicable to persistent cookies depends on the purpose of the cookie collection and tool used. You may be able to delete cookie data as described here.
The length of time a cookie will stay on your browser or device depends on whether it is a “persistent” or “session” cookie. Session cookies will only stay on your device until you stop browsing. Persistent cookies stay until they expire or are deleted. The expiration time or retention period applicable to persistent cookies depends on the purpose of the cookie collection and tool used. You may be able to delete cookie data as described [here](/site-policy/privacy-policies/github-privacy-statement#what-are-your-cookie-choices-and-controls).
#### What are cookies and similar technologies?
@@ -372,9 +372,9 @@ The CCPA provides California residents with certain rights related to their pers
When receiving a request, we will verify that the individual making the request is the resident to whom the personal information subject to the request pertains. California residents may exercise their rights themselves or may use an authorized agent, designated in writing or through a power of attorney, to make requests on their behalf. If you use an authorized agent to submit a request, we may require that you provide us additional information demonstrating that the agent is acting on your behalf, and we may need you to verify your identity directly with us.
With respect to your personal information, California residents may exercise the rights described below.
#### Right to Know.
You have a right to request that we disclose to you the personal information we have collected about you. You also have a right to request additional information about our collection, use, disclosure, or sale of such personal information. Note that we have provided much of this information in this privacy statement. You can use GitHubs User Migration API to access and download your data. Learn more here. You may also make such a “request to know” by contacting us here.
You have a right to request that we disclose to you the personal information we have collected about you. You also have a right to request additional information about our collection, use, disclosure, or sale of such personal information. Note that we have provided much of this information in this privacy statement. You can use GitHubs User Migration tool to access and download your data. Learn more [here](/get-started/privacy-on-github/requesting-an-archive-of-your-personal-accounts-data). You may also make such a “request to know” by contacting us [here](https://support.github.com/contact/privacy).
#### Right to Request Deletion.
You also have a right to request that we delete personal information under certain circumstances, subject to a number of exceptions. To make a request to delete, You can use GitHubs User Migration API to access and download your data. Learn more here. You may also make such a “request to delete” by contacting us here.
You also have a right to request that we delete personal information under certain circumstances, subject to a number of exceptions. To make a request to delete, you can contact us [here](https://support.github.com/contact/privacy) or use the account settings [here](https://github.com/settings/admin).
#### Right to Opt-Out.
You have a right to opt-out from future “sales” of personal information. Note that we do not “sell” personal information as defined by the CCPA and have not done so in the past 12 months.

View File

@@ -6,7 +6,7 @@ jobs:
call-workflow-passing-data:
uses: octo-org/example-repo/.github/workflows/reusable-workflow.yml@main
with:
username: mona
config-path: .github/labeler.yml
secrets:
envPAT: ${{ secrets.envPAT }}
```
@@ -21,7 +21,7 @@ jobs:
call-workflow-passing-data:
uses: octo-org/example-repo/.github/workflows/reusable-workflow.yml@main
with:
username: mona
config-path: .github/labeler.yml
secrets: inherit
```
{% endraw %}

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1dbf076552255ba4ce2e26ac4cfe4f816f3e8a5308a9f27fde71d61d7eca3543
size 786912
oid sha256:05b164915cc99122f0840c47406e79e59411eac4a1370e752cadba696dfbba98
size 786943

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:382ebb5b9a69eb56f86e5aac3f79d04433e53d740289fe12ce930c44180b5049
size 1551907
oid sha256:5a44b4d157333e3ac4beeeb00801d61129fe35aa5730fdcd09f4ba6a85ad89a1
size 1551945

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5788cb14bbd3e8415eab1abc3a6a224f131d04ae41f6ca052cb3ec8b38c86dba
size 1103791
oid sha256:4ebd4de3653af039396bcd6976037ae4fc5023333e41725e202eb86359e5069c
size 1103869

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:358880886a5cecd72b57acef6bfb5b65a8caba0f969238cbb48cd204d679b6cd
size 4475527
oid sha256:45f03f7d2eb1a3e353a017fdc7e8277344dba48dbc76fc574aa077626e86af04
size 4476031

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8ed753fe87f77b435849e3e8df340c8a7b48592d7075d8d1ff11fbce3b7a1be
size 740995
oid sha256:9732b0cdeefbbcda578256694e5e187802934ff65b63c7dcb60858cc023ea95d
size 740927

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21ad16d1590996adc8f7f2c065eb126c2b1496cfc1b6d3de23df1769aad418d8
size 3089400
oid sha256:2f50a103855bb2f96fd046dbd13d5fd901201834d2512dfd1e5ec2bdb1240987
size 3089113

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf8c969785d6df021a111c8a49a38d9eac2e6460127a5c9ddad89143c8e72f99
size 829102
oid sha256:e3931b852e1add9a74d38b85d39a4262d326b9eb70f9a8cc712c1df3b2485a3d
size 829172

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9894bf172830c790f7e977436d1cfb16473f24b5ee23b9cf6fe0c220e573c2c5
size 4379408
oid sha256:c0e8d6f1211efce541d902f15b8426da7f69689bc806f05cf06c9a9129799e5f
size 4379170

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:27b281ade5ad763c643a0ea4b1b5e38fc48615d4698e20fd28fe72db27710d45
size 727905
oid sha256:457bcd4d5fff51c9ac41339f80375933e4bcda7a5fde669a516735a330a31a8b
size 727909

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9dd734190d0720a5c907e3dd7fbf71b570b54d3561430d7128f6796b5875c27a
size 3081354
oid sha256:7e9b193082461a57176d82fd4ebce98ca82a42f649049f7ea8ab9aedec8f1cb8
size 3081068

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:320200138d25833a284604a8eb26269c5f29ce83f9ffec796190f64f9de37b32
size 811738
oid sha256:7a8eb6b0d2296e4abc4ae1a60a2f2bc6e799a33595728f762bc1e4fdcc6d1edc
size 811704

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae707061a85dee83cf653137a0f730e8eaeb296c9410be15857619b3ae78d2b4
size 1605567
oid sha256:8a41823557a3aa683be9bd0640ccd93b245fb4cf20e74d34cf1c70f8fa8921d8
size 1605751

Some files were not shown because too many files have changed in this diff Show More