Skip to content

Commit 918fced

Browse files
authored
Merge branch 'main' into main
2 parents 4b1af4a + 78789af commit 918fced

704 files changed

Lines changed: 13135 additions & 3583 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
// Lifecycle commands
6565
// Start a web server and keep it running
66-
"postStartCommand": "nohup bash -c 'npm start &'",
66+
"postStartCommand": "nohup bash -c 'npm ci && npm start &'",
6767
// Set port 4000 to be public
6868
"postAttachCommand": "gh cs ports visibility 4000:public -c \"$CODESPACE_NAME\"",
6969

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# ---------------------------------------------------------------
99
# To update the sha:
1010
# https://github.com/github/gh-base-image/pkgs/container/gh-base-image%2Fgh-base-noble
11-
FROM ghcr.io/github/gh-base-image/gh-base-noble:20251217-105955-g05726ec4c AS base
11+
FROM ghcr.io/github/gh-base-image/gh-base-noble:20260113-125234-g605df3bee AS base
1212

1313
# Install curl for Node install and determining the early access branch
1414
# Install git for cloning docs-early-access & translations repos
325 KB
Loading

‎content/account-and-profile/concepts/account-management.md‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,26 @@ redirect_from:
1313
- /account-and-profile/concepts/personal-account-management
1414
---
1515

16+
{% ifversion ghes < 3.21 %}
1617
## About converting your personal account
1718

1819
Converting a personal account into an organization allows you move to a shared account where a large number of people can collaborate across many projects at once. Converting your account:
1920
* Preserves the repositories as they are without the need to transfer them to another account manually
2021
* Automatically invites collaborators to teams with permissions equivalent to what they had before
21-
{%- ifversion fpt or ghec %}
22-
* For personal accounts on {% data variables.product.prodname_pro %}, automatically transitions billing to [the paid {% data variables.product.prodname_team %}](/billing/managing-the-plan-for-your-github-account/about-billing-for-plans) without the need to re-enter payment information, adjust your billing cycle, or double pay at any time
23-
{%- endif %}
2422

2523
When you convert a personal account into an organization, we'll add collaborators on repositories that belong to the account to the new organization as outside collaborators. You can then invite outside collaborators to become members of your new organization if you wish. For more information, see [AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization#outside-collaborators).
2624

2725
To convert your personal account into an organization, see [AUTOTITLE](/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/converting-a-user-into-an-organization).
2826

27+
{% else %}
28+
29+
## About moving your work to an organization
30+
31+
You can move repositories and projects from your personal account to an organization while keeping your personal account intact. This enables team collaboration with granular permissions across your existing work.
32+
33+
For more information, see [AUTOTITLE](/account-and-profile/how-tos/account-management/moving-your-work-to-an-organization).
34+
{% endif %}
35+
2936
## About deletion of your personal account
3037

3138
Deleting your personal account removes all repositories, forks of private repositories, wikis, issues, pull requests, and pages owned by your account. {% ifversion fpt or ghec %}Issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted. Your resources and comments will become associated with the [ghost user](https://github.com/ghost).{% else %}Issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted.{% endif %}

‎content/account-and-profile/how-tos/account-management/converting-a-user-into-an-organization.md‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ redirect_from:
1212
- /account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/converting-a-user-into-an-organization
1313
intro: You can convert your personal account into an organization. This allows more granular permissions for repositories that belong to the organization.
1414
versions:
15-
fpt: '*'
16-
ghes: '*'
17-
ghec: '*'
15+
ghes: '<3.21'
1816
topics:
1917
- Accounts
2018
shortTitle: Convert your account
@@ -25,9 +23,7 @@ contentType: how-tos
2523

2624
The personal account you want to convert cannot be a member of any organizations. If the personal account you want to convert is a member of an organization, you must leave the organization before you can convert the account.
2725

28-
{% ifversion ghes %}
29-
You may not be able to convert a personal account into an organization, if an enterprise owner has set a policy at the enterprise level. See, [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-organizations-in-your-enterprise/preventing-users-from-creating-organizations).
30-
{% endif %}
26+
You may not be able to convert a personal account into an organization if an enterprise owner has set a policy at the enterprise level. See, [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-organizations-in-your-enterprise/preventing-users-from-creating-organizations).
3127

3228
## Keep your personal account and create a new organization manually
3329

@@ -56,7 +52,4 @@ To convert your personal account into an organization, follow these steps:
5652

5753
* [AUTOTITLE](/account-and-profile/reference/personal-account-reference#side-effects-of-converting-an-account-to-an-organization)
5854
* [AUTOTITLE](/organizations/organizing-members-into-teams)
59-
{% ifversion fpt or ghec %}
60-
* [AUTOTITLE](/organizations/managing-membership-in-your-organization/inviting-users-to-join-your-organization)
61-
{% endif %}
6255
* [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/accessing-an-organization)

‎content/account-and-profile/how-tos/account-management/index.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Managing your personal account
3-
intro: You can manage your personal account on {% data variables.product.github %}. For example, you can {% ifversion fpt or ghec %}manage multiple accounts, {% endif %}convert an account to an organization, or delete an account.
3+
intro: You can manage your personal account on {% data variables.product.github %}. For example, you can change your username, {% ifversion fpt or ghec %}manage multiple accounts, {% endif %}{% ifversion ghes < 3.21 %}convert an account to an organization, {% else %}move your work to an organization, {% endif %}or delete an account.
44
shortTitle: Personal account management
55
versions:
66
fpt: '*'
@@ -12,6 +12,7 @@ children:
1212
- /managing-multiple-accounts
1313
- /merging-multiple-personal-accounts
1414
- /changing-your-username
15+
- /moving-your-work-to-an-organization
1516
- /converting-a-user-into-an-organization
1617
- /unlinking-your-email-address-from-a-locked-account
1718
- /deleting-your-personal-account
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Moving your work to an organization
3+
intro: You can transfer repositories and projects from your personal account to a new or existing organization through your account settings.
4+
versions:
5+
fpt: '*'
6+
ghes: '>= 3.21'
7+
ghec: '*'
8+
topics:
9+
- Organizations
10+
- Teams
11+
shortTitle: Move work to organization
12+
---
13+
14+
## Keeping your username for the organization
15+
16+
If you want your new organization to use your current personal account username, you'll need to rename your personal account first:
17+
18+
1. Change your personal account username to something new. For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/changing-your-github-username).
19+
1. Create an organization using your original username, then follow the steps below to move your work.
20+
21+
## Moving your work to an organization
22+
23+
{% data reusables.user-settings.access_settings %}
24+
{% data reusables.user-settings.organizations %}
25+
1. Under the "Move to an organization" section, click **Move work to an organization**.
26+
1. Follow the prompts to transfer any of your repositories and projects to a new or existing organization. {% ifversion fpt or ghec %}For more information about the plans available for your team, see [AUTOTITLE](/get-started/learning-about-github/githubs-plans).{% endif %}
27+
1. Once done assigning your work to its new location, click **Move to an organization**, then click **Go to your organization**.
28+
29+
## Further reading
30+
31+
- [AUTOTITLE](/organizations/managing-membership-in-your-organization/inviting-users-to-join-your-organization)
32+
- [AUTOTITLE](/organizations/managing-peoples-access-to-your-organization-with-roles/maintaining-ownership-continuity-for-your-organization)

‎content/actions/how-tos/manage-runners/larger-runners/use-custom-images.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ To configure a workflow for image generation:
5757
* Each job that includes the `snapshot` keyword creates a separate image. To generate only one image or image version, include all workflow steps in a single job.
5858
* Each successful run of a job that includes the `snapshot` keyword creates a new version of that image.
5959

60+
> [!NOTE]
61+
> {% data variables.product.company_short %} recommends configuring image generation as a scheduled workflow on a weekly basis. This approach ensures dependencies remain up-to-date and have the latest security patches. For more information, see [AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows#schedule).
62+
6063
It can take some time for your image to be fully generated and ready to use after the workflow completes. Provisioning time varies based on runner size and configuration, and may take several hours for larger runners.
6164

6265
The image is generated only when the job completes successfully. This prevents new image versions from being created when a workflow fails or ends in an incomplete state.

‎content/actions/how-tos/monitor-workflows/index.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ children:
1111
- /view-job-execution-time
1212
- /add-a-status-badge
1313
- /use-workflow-run-logs
14+
- /view-job-condition-logs
1415
- /enable-debug-logging
1516
redirect_from:
1617
- /actions/monitoring-and-troubleshooting-workflows/monitoring-workflows
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Viewing job condition expression logs
3+
shortTitle: View job condition logs
4+
intro: 'Learn how to access and interpret expression evaluation logs for job-level `if` conditions in {% data variables.product.prodname_actions %}.'
5+
versions:
6+
fpt: '*'
7+
ghec: '*'
8+
contentType: how-tos
9+
---
10+
11+
When a job's `if` condition is evaluated, {% data variables.product.prodname_actions %} logs the expression evaluation to help you understand the result. This is useful for debugging both why a job was skipped and why a job ran when you expected it to be skipped.
12+
13+
## Accessing expression logs
14+
15+
1. Navigate to the workflow run summary.
16+
1. Click on the job.
17+
1. Click **{% octicon "gear" aria-label="The Gear icon" %}**.
18+
1. Select **Download log archive**.
19+
1. Extract the ZIP file and open the `JOB-NAME/system.txt` file.
20+
21+
## Understanding the log output
22+
23+
The system log shows the expression evaluation:
24+
25+
```text
26+
Evaluating: (success() && ((github.repository == 'octo-org/octo-repo-prod')))
27+
Expanded: (true && (('my-username/octo-repo-prod' == 'octo-org/octo-repo-prod')))
28+
Result: false
29+
```
30+
31+
| Line | Description |
32+
|------|-------------|
33+
| **Evaluating** | The original `if` expression from your workflow file. |
34+
| **Expanded** | The expression with context values substituted. This shows you exactly what values were used at runtime. |
35+
| **Result** | The final evaluation result (`true` or `false`). |
36+
37+
In this example, the expanded line reveals that `github.repository` was `'my-username/octo-repo-prod'` (not `'octo-org/octo-repo-prod'`), which caused the condition to evaluate to `false`.
38+
39+
> [!NOTE]
40+
> Expression logs are only available for job-level `if` conditions. For step-level conditions, you can enable debug logging to see expression evaluation in the job logs. For more information, see [AUTOTITLE](/actions/how-tos/monitor-workflows/enable-debug-logging).

0 commit comments

Comments
 (0)