Skip to content

Commit 8a0462d

Browse files
author
Martin Lopes
authored
Merge branch 'main' into achievements-public-beta
2 parents 306ba8b + 32d4408 commit 8a0462d

File tree

145 files changed

+606
-431
lines changed

Some content is hidden

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

145 files changed

+606
-431
lines changed

components/lib/get-rest-code-samples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function getShellExample(operation: Operation, codeSample: CodeSample) {
4242

4343
const args = [
4444
operation.verb !== 'get' && `-X ${operation.verb.toUpperCase()}`,
45-
`-H "Accept: ${defaultAcceptHeader}"`,
45+
`-H "Accept: ${defaultAcceptHeader}" \\ \n -H "Authorization: <TOKEN>"`,
4646
`${operation.serverUrl}${requestPath}`,
4747
requestBodyParams,
4848
].filter(Boolean)

content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ gh run rerun --job <em>job-id</em> --debug
142142

143143
{% endif %}
144144

145+
{% ifversion partial-reruns-with-reusable %}
146+
147+
## Re-running workflows and jobs with reusable workflows
148+
149+
{% data reusables.actions.partial-reruns-with-reusable %}
150+
151+
{% endif %}
152+
145153
{% ifversion fpt or ghes > 3.4 or ghae-issue-4721 or ghec %}
146154
## Reviewing previous workflow runs
147155

content/actions/using-workflows/reusing-workflows.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,14 @@ For information about using the REST API to query the audit log for an organizat
310310

311311
{% endnote %}
312312

313+
{% ifversion partial-reruns-with-reusable %}
314+
315+
## Re-running workflows and jobs with reusable workflows
316+
317+
{% data reusables.actions.partial-reruns-with-reusable %}
318+
319+
{% endif %}
320+
313321
## Next steps
314322

315323
To continue learning about {% data variables.product.prodname_actions %}, see "[Events that trigger workflows](/actions/learn-github-actions/events-that-trigger-workflows)."

content/rest/activity/feeds.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ HTTP/2 200
2929

3030
```xml
3131
<?xml version="1.0" encoding="UTF-8"?>
32-
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xml:lang="en-US">
32+
<feed xmlns="http://www.w3.org/2005/Atom"
33+
xmlns:media="http://search.yahoo.com/mrss/"
34+
xml:lang="en-US">
3335
<id>tag:github.com,2008:/security-advisories</id>
34-
<link rel="self" type="application/atom+xml" href="https://github.com/security-advisories.atom"/>
36+
<link rel="self" type="application/atom+xml"
37+
href="https://github.com/security-advisories.atom"/>
3538
<title>GitHub Security Advisory Feed</title>
3639
<author>
3740
<name>GitHub</name>
@@ -41,10 +44,18 @@ HTTP/2 200
4144
<id>tag:github.com,2008:GHSA-abcd-12ab-23cd</id>
4245
<published>2018-07-26T15:14:52Z</published>
4346
<updated>2019-01-14T19:34:52Z</updated>
44-
<title type="html">[GHSA-abcd-12ab-23cd] Moderate severity vulnerability that affects Octoapp</title>
47+
<title type="html">[GHSA-abcd-12ab-23cd] Moderate
48+
severity vulnerability that affects Octoapp</title>
4549
<category term="NPM"/>
4650
<content type="html">
47-
&lt;p&gt;Octoapp node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of &quot;Object&quot; via &lt;strong&gt;proto&lt;/strong&gt;, causing the addition or modification of an existing property that will exist on all objects.&lt;/p&gt;
51+
&lt;p&gt;Octoapp node module before 4.17.5 suffers
52+
from a Modification of Assumed-Immutable Data (MAID)
53+
vulnerability via defaultsDeep, merge, and mergeWith
54+
functions, which allows a malicious user to modify
55+
the prototype of &quot;Object&quot; via
56+
&lt;strong&gt;proto&lt;/strong&gt;, causing the
57+
addition or modification of an existing property
58+
that will exist on all objects.&lt;/p&gt;
4859
&lt;p&gt;&lt;strong&gt;Affected Packages&lt;/strong&gt;&lt;/p&gt;
4960

5061
&lt;dl&gt;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Issue #7062
2+
versions:
3+
fpt: '*'
4+
ghec: '*'
5+
ghes: '>=3.5'
6+
ghae: 'issue-7062'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Reusable workflows from public repositories can be referenced using a SHA, a release tag, or a branch name. For more information, see ["Calling a reusable workflow"](/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow).
2+
3+
When you re-run a workflow that uses a reusable workflow and the reference is not a SHA, there are some behaviors to be aware of:
4+
5+
* Re-running all jobs in a workflow will use the reusable workflow from the specified reference. For more information about re-running all jobs in a workflow, see ["Re-running all the jobs in a workflow"](/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-all-the-jobs-in-a-workflow).
6+
* Re-running failed jobs or a specific job in a workflow will use the reusable workflow from the same commit SHA of the first attempt. For more information about re-running failed jobs in a workflow, see ["Re-running failed jobs in a workflow"](/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-failed-jobs-in-a-workflow). For more information about re-running a specific job in a workflow, see ["Re-running a specific job in a workflow"](/actions/managing-workflow-runs/re-running-workflows-and-jobs#re-running-a-specific-job-in-a-workflow).

translations/es-ES/content/actions/automating-builds-and-tests/building-and-testing-java-with-gradle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ shortTitle: Crear & probar con Java & Gradle
2222

2323
## Introducción
2424

25-
Esta guía te muestra cómo crear un flujo de trabajo que realiza la integración continua (CI) para tu proyecto Java usando el sistema de construcción Gradle. El flujo de trabajo que creas te permitirá ver cuándo las confirmaciones de una solicitud de extracción causan la construcción o las fallas de prueba en tu rama por defecto; este enfoque puede ayudar a garantizar que tu código siempre sea correcto. Puedes extender tu flujo de trabajo de IC para {% ifversion actions-caching %}guardar archivos en caché y{% endif %} cargar los artefactos desde una ejecución de flujo de trabajo.
25+
Esta guía te muestra cómo crear un flujo de trabajo que realiza la integración continua (CI) para tu proyecto Java usando el sistema de construcción Gradle. El flujo de trabajo que creas te permitirá ver cuándo las confirmaciones de una solicitud de extracción causan la construcción o las fallas de prueba en tu rama por defecto; este enfoque puede ayudar a garantizar que tu código siempre sea correcto. You can extend your CI workflow to {% ifversion actions-caching %}cache files and{% endif %} upload artifacts from a workflow run.
2626

2727
{% ifversion ghae %}
2828
{% data reusables.actions.self-hosted-runners-software %}

translations/es-ES/content/actions/automating-builds-and-tests/building-and-testing-java-with-maven.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ shortTitle: Crear & probar en Java con Maven
2222

2323
## Introducción
2424

25-
Esta guía te muestra cómo crear un flujo de trabajo que realiza la integración continua (CI) para tu proyecto Java utilizando la herramienta de gestión de proyectos de software Maven. El flujo de trabajo que creas te permitirá ver cuándo las confirmaciones de una solicitud de extracción causan la construcción o las fallas de prueba en tu rama por defecto; este enfoque puede ayudar a garantizar que tu código siempre sea correcto. Puedes extender tu flujo de trabajo de IC para {% ifversion actions-caching %}guardar archivos en caché y{% endif %} cargar los artefactos desde una ejecución de flujo de trabajo.
25+
Esta guía te muestra cómo crear un flujo de trabajo que realiza la integración continua (CI) para tu proyecto Java utilizando la herramienta de gestión de proyectos de software Maven. El flujo de trabajo que creas te permitirá ver cuándo las confirmaciones de una solicitud de extracción causan la construcción o las fallas de prueba en tu rama por defecto; este enfoque puede ayudar a garantizar que tu código siempre sea correcto. You can extend your CI workflow to {% ifversion actions-caching %}cache files and{% endif %} upload artifacts from a workflow run.
2626

2727
{% ifversion ghae %}
2828
{% data reusables.actions.self-hosted-runners-software %}

translations/es-ES/content/actions/automating-builds-and-tests/building-and-testing-nodejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Si no especificas una versión de Node.js, {% data variables.product.prodname_do
134134

135135
Los ejecutores alojados en {% data variables.product.prodname_dotcom %} tienen instalados administradores de dependencias de npm y Yarn. Puedes usar npm y Yarn para instalar dependencias en tu flujo de trabajo antes de construir y probar tu código. Los ejecutores Windows y Linux alojados en {% data variables.product.prodname_dotcom %} también tienen instalado Grunt, Gulp y Bower.
136136

137-
{% ifversion actions-caching %}también puedes guardar las dependencias en caché para acelerar tu flujo de trabajo. Para obtener más información, consulta la sección "[Almacenar las dependencias en caché para agilizar los flujos de trabajo](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)".{% endif %}
137+
{% ifversion actions-caching %}You can also cache dependencies to speed up your workflow. Para obtener más información, consulta la sección "[Almacenar las dependencias en caché para agilizar los flujos de trabajo](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)".{% endif %}
138138

139139
### Ejemplo con npm
140140

translations/es-ES/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Edit the trust relationship to add the `sub` field to the validation conditions.
4343

4444
```json{:copy}
4545
"Condition": {
46-
"ForAllValues:StringEquals": {
46+
"StringEquals": {
4747
"{% ifversion ghes %}HOSTNAME/_services/token{% else %}token.actions.githubusercontent.com{% endif %}:aud": "sts.amazonaws.com",
4848
"{% ifversion ghes %}HOSTNAME/_services/token{% else %}token.actions.githubusercontent.com{% endif %}:sub": "repo:octo-org/octo-repo:ref:refs/heads/octo-branch"
4949
}

0 commit comments

Comments
 (0)