You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/get-started/learning-to-code/reusing-other-peoples-code-in-your-projects.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ When enabled, {% data variables.product.prodname_dependabot_alerts %} are automa
156
156
157
157
Turn {% data variables.product.prodname_dependabot_alerts %} on for your repository now. Click the **Security** tab for your project's {% data variables.product.github %} repository. Next to {% data variables.product.prodname_dependabot_alerts %}, click **Enable {% data variables.product.prodname_dependabot_alerts %}**. You can access {% data variables.product.prodname_dependabot_alerts %} from the **{% data variables.product.prodname_dependabot %}** tab of the sidebar.
158
158
159
-

159
+

Copy file name to clipboardExpand all lines: content/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions.md
+5-13
Original file line number
Diff line number
Diff line change
@@ -48,14 +48,6 @@ For more information about authenticating in a {% data variables.product.prodnam
48
48
1. Generate a private key for your app. Store the contents of the resulting file as a secret in your repository or organization. (Store the entire contents of the file, including `-----BEGIN RSA PRIVATE KEY-----` and `-----END RSA PRIVATE KEY-----`.) In the following workflow, replace `APP_PEM` with the name of the secret. For more information, see [AUTOTITLE](/apps/creating-github-apps/authenticating-with-a-github-app/managing-private-keys-for-github-apps). For more information about storing secrets, see [AUTOTITLE](/actions/security-guides/encrypted-secrets).
49
49
1. In the following workflow, replace `YOUR_ORGANIZATION` with the name of your organization. For example, `octo-org`. Replace `YOUR_PROJECT_NUMBER` with your project number. To find the project number, look at the project URL. For example, `https://github.com/orgs/octo-org/projects/5` has a project number of 5. In order for this specific example to work, your project must also have a "Date posted" date field.
50
50
51
-
{% ifversion ghes < 3.12 %}
52
-
53
-
> [!NOTE]
54
-
> * {% data reusables.actions.actions-not-certified-by-github %}
55
-
> * {% data reusables.actions.actions-use-sha-pinning %}
56
-
57
-
{% endif %}
58
-
59
51
```yaml annotate copy
60
52
#
61
53
name: Add PR to project
@@ -68,17 +60,17 @@ jobs:
68
60
track_pr:
69
61
runs-on: ubuntu-latest
70
62
steps:
71
-
# Uses the {% ifversion ghes < 3.12 %}[tibdex/github-app-token](https://github.com/tibdex/github-app-token){% else %}[actions/create-github-app-token](https://github.com/marketplace/actions/create-github-app-token){% endif %} action to generate an installation access token for your app from the app ID and private key. The installation access token is accessed later in the workflow as `{% raw %}${{ steps.generate-token.outputs.token }}{% endraw %}`.
63
+
# Uses the [actions/create-github-app-token](https://github.com/marketplace/actions/create-github-app-token) action to generate an installation access token for your app from the app ID and private key. The installation access token is accessed later in the workflow as `{% raw %}${{ steps.generate-token.outputs.token }}{% endraw %}`.
72
64
#
73
65
# Replace `APP_ID` with the name of the configuration variable that contains your app ID.
74
66
#
75
67
# Replace `APP_PEM` with the name of the secret that contains your app private key.
private-key: {% raw %}${{ secrets.APP_PEM }}{% endraw %}
82
74
# Sets environment variables for this step.
83
75
#
84
76
# Replace `YOUR_ORGANIZATION` with the name of your organization. For example, `octo-org`.
@@ -255,7 +247,7 @@ jobs:
255
247
# - To get the ID of an option called `Octoteam` for the `Team` single select field, add `echo 'OCTOTEAM_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Team") |.options[] | select(.name=="Octoteam") |.id' project_data.json) >> $GITHUB_ENV`.
256
248
#
257
249
# **Note:** This workflow assumes that you have a project with a single select field called "Status" that includes an option called "Todo" and a date field called "Date posted". You must modify this section to match the fields that are present in your table.
Copy file name to clipboardExpand all lines: content/rest/quickstart.md
+9-24
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,6 @@ If you are authenticating with a {% data variables.product.prodname_github_app %
68
68
1. Add a step to generate a token, and use that token instead of `GITHUB_TOKEN`. Note that this token will expire after 60 minutes. {% ifversion fpt or ghec %}For example:{% else %}In the following example, replace `HOSTNAME` with the name of {% data variables.location.product_location %}. Replace `REPO-OWNER` with the name of the account that owns the repository. Replace `REPO-NAME` with the name of the repository.{% endif %}
69
69
70
70
```yaml copy
71
-
{% ifversion ghes < 3.12 %}
72
-
{% data reusables.actions.actions-not-certified-by-github-comment %}
73
-
74
-
{% data reusables.actions.actions-use-sha-pinning-comment %}
75
-
{% endif %}
76
71
on:
77
72
workflow_dispatch:
78
73
jobs:
@@ -81,10 +76,10 @@ If you are authenticating with a {% data variables.product.prodname_github_app %
private-key: {% raw %}${{ secrets.APP_PEM }}{% endraw %}
244
234
245
235
- name: Run script
246
236
run: |
@@ -323,11 +313,6 @@ If you are authenticating with a {% data variables.product.prodname_github_app %
323
313
1. Add a step to generate a token, and use that token instead of `GITHUB_TOKEN`. Note that this token will expire after 60 minutes. {% ifversion fpt or ghec %}For example:{% else %}In the following example, replace `HOSTNAME` with the name of {% data variables.location.product_location %}. Replace `REPO-OWNER` with the name of the account that owns the repository. Replace `REPO-NAME` with the name of the repository.{% endif %}
324
314
325
315
```yaml copy
326
-
{% ifversion ghes < 3.12 %}
327
-
{% data reusables.actions.actions-not-certified-by-github-comment %}
328
-
329
-
{% data reusables.actions.actions-use-sha-pinning-comment %}
330
-
{% endif %}
331
316
on:
332
317
workflow_dispatch:
333
318
jobs:
@@ -336,10 +321,10 @@ If you are authenticating with a {% data variables.product.prodname_github_app %
Copy file name to clipboardExpand all lines: content/search-github/getting-started-with-searching-on-github/about-searching-on-github.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ topics:
22
22
23
23
{% data reusables.search.you-can-search-globally %}
24
24
25
-
* To search globally across all of {% data variables.product.github %}, type what you're looking for into the search field at the top of any page, and choose "Search all of {% data variables.product.prodname_dotcom %}"{% ifversion fpt or ghec or ghes < 3.12 %} in the search dropdown menu{% endif %}.
25
+
* To search globally across all of {% data variables.product.github %}, type what you're looking for into the search field at the top of any page, and choose "Search all of {% data variables.product.prodname_dotcom %}"{% ifversion fpt or ghec or ghes > 3.12 %} in the search dropdown menu{% endif %}.
26
26
* To search within a particular repository or organization, navigate to the repository or organization page, type what you're looking for into the search field at the top of the page, and press **Enter**.
27
27
28
28
{% ifversion code-search-upgrade %}You can also use suggestions and completions in the search bar to quickly find what you need.
1. Click the tab that corresponds to the location of the repository you want to clone. In this example, we click on the URL tab.
2
2
3
-

3
+

0 commit comments