Skip to content

Commit 075adbe

Browse files
authored
Merge pull request #39377 from github/repo-sync
Repo sync
2 parents e7852f9 + d4fc73f commit 075adbe

File tree

37 files changed

+943
-276
lines changed

37 files changed

+943
-276
lines changed

.github/workflows/sync-graphql.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,16 @@ jobs:
1717
update_graphql_files:
1818
if: github.repository == 'github/docs-internal'
1919
runs-on: ubuntu-latest
20+
outputs:
21+
ignored-changes: ${{ steps.sync.outputs.ignored-changes }}
22+
ignored-count: ${{ steps.sync.outputs.ignored-count }}
23+
ignored-types: ${{ steps.sync.outputs.ignored-types }}
2024
steps:
2125
- name: Checkout
2226
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2327
- uses: ./.github/actions/node-npm-setup
2428
- name: Run updater scripts
29+
id: sync
2530
env:
2631
# need to use a token from a user with access to github/github for this step
2732
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }}
@@ -70,3 +75,22 @@ jobs:
7075
with:
7176
slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
7277
slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
78+
79+
notify_ignored_changes:
80+
if: github.repository == 'github/docs-internal' && needs.update_graphql_files.outputs.ignored-count > 0 && github.event_name != 'workflow_dispatch'
81+
needs: update_graphql_files
82+
runs-on: ubuntu-latest
83+
steps:
84+
- name: Checkout
85+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
86+
- uses: ./.github/actions/slack-alert
87+
with:
88+
slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
89+
slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
90+
color: warning
91+
message: |
92+
⚠️ GraphQL Sync found ${{ needs.update_graphql_files.outputs.ignored-count }} ignored change types: ${{ needs.update_graphql_files.outputs.ignored-types }}
93+
94+
These change types are not in CHANGES_TO_REPORT and were silently ignored. Consider reviewing if they should be added to the changelog.
95+
96+
See workflow run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: 'Billing and usage'
3+
intro: 'There are usage limits for {% data variables.product.prodname_actions %} workflows. Usage charges apply to repositories that go beyond the amount of free minutes and storage for a repository.'
4+
redirect_from:
5+
- /actions/getting-started-with-github-actions/usage-and-billing-information-for-github-actions
6+
- /actions/reference/usage-limits-billing-and-administration
7+
- /actions/learn-github-actions/usage-limits-billing-and-administration
8+
- /actions/administering-github-actions/usage-limits-billing-and-administration
9+
- /actions/concepts/overview/usage-limits-billing-and-administration
10+
versions:
11+
fpt: '*'
12+
ghes: '*'
13+
ghec: '*'
14+
topics:
15+
- Billing
16+
---
17+
18+
## About billing for {% data variables.product.prodname_actions %}
19+
20+
{% ifversion fpt or ghec %}
21+
{% data reusables.actions.actions-billing %} For more information, see [AUTOTITLE](/billing/managing-billing-for-github-actions/about-billing-for-github-actions).
22+
{% else %}
23+
{% data variables.product.prodname_actions %} usage is free for {% data variables.product.prodname_ghe_server %} instances that use self-hosted runners. For more information, see [AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners).
24+
{% endif %}
25+
26+
{% ifversion fpt or ghec %}
27+
28+
## Availability
29+
30+
{% data variables.product.prodname_actions %} is available on all {% data variables.product.prodname_dotcom %} products, but {% data variables.product.prodname_actions %} is not available for private repositories owned by accounts using legacy per-repository plans. {% data reusables.gated-features.more-info %}
31+
32+
{% endif %}
33+
34+
## Usage limits and policy
35+
36+
There are several limits on {% data variables.product.prodname_actions %} usage when using {% data variables.product.prodname_dotcom %}-hosted runners. See [AUTOTITLE](/actions/reference/actions-limits).
37+
38+
In addition to the usage limits, you must ensure that you use {% data variables.product.prodname_actions %} within the [GitHub Terms of Service](/free-pro-team@latest/site-policy/github-terms/github-terms-of-service). For more information on {% data variables.product.prodname_actions %}-specific terms, see the [GitHub Additional Product Terms](/free-pro-team@latest/site-policy/github-terms/github-terms-for-additional-products-and-features#a-actions-usage).
39+
40+
{% ifversion fpt or ghec %}
41+
42+
## {% data variables.product.prodname_actions %} usage metrics
43+
44+
Organization owners and users with the "View organization Actions metrics" permission can view {% data variables.product.prodname_actions %} usage metrics for their organization. These metrics can help you understand how and where your Actions minutes are being used. For more information, see [AUTOTITLE](/enterprise-cloud@latest/organizations/collaborating-with-groups-in-organizations/viewing-usage-metrics-for-github-actions).
45+
46+
When you view usage metrics, it is important to remember that {% data reusables.actions.actions-usage-metrics-not-billing-metrics %}
47+
48+
{% endif %}
49+
50+
## Billing for reusable workflows
51+
52+
If you reuse a workflow, billing is always associated with the caller workflow. Assignment of {% data variables.product.prodname_dotcom %}-hosted runners is always evaluated using only the caller's context. The caller cannot use {% data variables.product.prodname_dotcom %}-hosted runners from the called repository.
53+
54+
For more information see, [AUTOTITLE](/actions/using-workflows/reusing-workflows).
55+
56+
## Next steps
57+
58+
You can manage your {% data variables.product.prodname_actions %} usage and retention policies for your repository, organization, or enterprise account. For more information, see:
59+
* [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository)
60+
* [AUTOTITLE](/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization)
61+
* [AUTOTITLE](/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization)
62+
* [AUTOTITLE](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise)

content/actions/concepts/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ children:
1212
- /runners
1313
- /security
1414
- /about-github-actions-metrics
15+
- /billing-and-usage
1516
redirect_from:
1617
- /actions/concepts/use-cases
1718
---

content/actions/concepts/overview/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ versions:
99
children:
1010
- /about-continuous-deployment-with-github-actions
1111
- /continuous-integration
12-
- /usage-limits-billing-and-administration
1312
---

content/actions/concepts/overview/usage-limits-billing-and-administration.md

Lines changed: 0 additions & 131 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Concurrency
3+
intro: 'Learn about running workflows and jobs simultaneously.'
4+
versions:
5+
fpt: '*'
6+
ghes: '*'
7+
ghec: '*'
8+
type: overview
9+
topics:
10+
- Actions
11+
- Workflows
12+
---
13+
14+
By default, {% data variables.product.prodname_actions %} allows multiple jobs within the same workflow, multiple workflow runs within the same repository, and multiple workflow runs across a repository owner's account to run concurrently. This means that multiple instances of the same workflow or job can run at the same time, performing the same steps.
15+
16+
{% data variables.product.prodname_actions %} also allows you to disable concurrent execution. This can be useful for controlling your account’s or organization’s resources in situations where running multiple workflows or jobs at the same time could cause conflicts or consume more Actions minutes and storage than expected. For example, you might want to prevent multiple deployments from running at the same time, or cancel linters checking outdated commits.
17+
18+
To start controlling concurrency in your own workflows with the `concurrency` keyword, see [AUTOTITLE](/actions/how-tos/writing-workflows/choosing-when-your-workflow-runs/control-the-concurrency-of-workflows-and-jobs).

content/actions/concepts/workflows-and-actions/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ children:
1414
- /contexts
1515
- /expressions
1616
- /deployment-environments
17+
- /concurrency
1718
- /workflow-artifacts
1819
- /dependency-caching
1920
- /about-monitoring-workflows

content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

content/actions/how-tos/writing-workflows/choosing-what-your-workflow-does/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,5 @@ children:
1919
- /passing-information-between-jobs
2020
- /setting-a-default-shell-and-working-directory
2121
- /deploying-to-a-specific-environment
22-
- /control-the-concurrency-of-workflows-and-jobs
2322
- /running-variations-of-jobs-in-a-workflow
2423
---
25-
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Control the concurrency of workflows and jobs
3+
shortTitle: Control workflow concurrency
4+
intro: Manage which workflows and jobs can run simultaneously.
5+
versions:
6+
fpt: '*'
7+
ghes: '*'
8+
ghec: '*'
9+
redirect_from:
10+
- /actions/using-jobs/using-concurrency
11+
- /actions/writing-workflows/choosing-what-your-workflow-does/using-concurrency
12+
- /early-access/actions/running-additional-jobs-in-github-actions
13+
- /actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
14+
- /actions/how-tos/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
15+
---
16+
17+
## Using concurrency in different scenarios
18+
19+
{% data reusables.actions.jobs.section-using-concurrency-jobs %}
20+
21+
{% ifversion github-runner-dashboard %}
22+
23+
## Monitoring your current jobs in your organization or enterprise
24+
25+
{% data reusables.actions.github-hosted-runners-check-concurrency %}
26+
{% endif %}

0 commit comments

Comments
 (0)