Skip to content

Commit 75394fe

Browse files
authored
Merge pull request #41162 from github/repo-sync
Repo sync
2 parents 70ee8eb + c589c75 commit 75394fe

File tree

15 files changed

+27
-2
lines changed

15 files changed

+27
-2
lines changed

content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-aws.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ The `aws-actions/configure-aws-credentials` action receives a JWT from the {% da
128128

129129
```yaml copy
130130
# Sample workflow to access AWS resources when workflow is tied to branch
131-
# The workflow Creates static website using aws s3
131+
# The workflow creates a static website using Amazon S3
132+
{% data reusables.actions.actions-not-certified-by-github-comment %}
132133
name: AWS example workflow
133134
on:
134135
push

content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-azure.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ The following example exchanges an OIDC ID token with Azure to receive an access
8080
{% raw %}
8181

8282
```yaml copy
83+
{% data reusables.actions.actions-not-certified-by-github-comment %}
8384
name: Run Azure Login with OIDC
8485
on: [push]
8586

content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-google-cloud-platform.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ This action exchanges a {% data variables.product.prodname_dotcom %} OIDC token
8181
{% raw %}
8282

8383
```yaml copy
84+
{% data reusables.actions.actions-not-certified-by-github-comment %}
8485
name: List services in GCP
8586
on:
8687
pull_request:

content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-hashicorp-vault.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ This example demonstrates how to create a job that requests a secret from HashiC
128128
* `SECRET-PATH`: Replace this with the path to the secret you're retrieving from HashiCorp Vault. For example: `secret/data/production/ci npmToken`.
129129
130130
```yaml copy
131+
{% data reusables.actions.actions-not-certified-by-github-comment %}
131132
jobs:
132133
retrieve-secret:
133134
runs-on: ubuntu-latest
@@ -161,6 +162,7 @@ By default, the Vault server will automatically revoke access tokens when their
161162
1. Add a step to call the [Revoke a Token (Self)](https://www.vaultproject.io/api/auth/token#revoke-a-token-self) Vault API to revoke the access token.
162163
163164
```yaml copy
165+
{% data reusables.actions.actions-not-certified-by-github-comment %}
164166
jobs:
165167
retrieve-secret:
166168
runs-on: ubuntu-latest

content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-jfrog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ The following example uses the placeholders `YOUR_PROVIDER_NAME` and `YOUR_AUDIE
5858
{% raw %}
5959

6060
```yaml
61+
{% data reusables.actions.actions-not-certified-by-github-comment %}
6162
permissions:
6263
id-token: write
6364
contents: read
@@ -91,6 +92,7 @@ jobs:
9192
{% raw %}
9293

9394
```yaml
95+
{% data reusables.actions.actions-not-certified-by-github-comment %}
9496
- name: Sign in to Artifactory Docker registry
9597
uses: docker/login-action@v3
9698
with:

content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-pypi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ The [`pypa/gh-action-pypi-publish`](https://github.com/marketplace/actions/pypi-
5656
The following example uses the `pypa/gh-action-pypi-publish` action to exchange an OIDC token for a PyPI API token, which is then used to upload a package's release distributions to PyPI.
5757

5858
```yaml copy
59+
{% data reusables.actions.actions-not-certified-by-github-comment %}
5960
jobs:
6061
release-build:
6162
runs-on: ubuntu-latest

content/actions/tutorials/build-and-test-code/java-with-gradle.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ We recommend that you have a basic understanding of Java and the Gradle framewor
5555
If you don't find the "Java with Gradle" workflow template, copy the following workflow code to a new file called `gradle.yml` in the `.github/workflows` directory of your repository.
5656

5757
```yaml copy
58+
{% data reusables.actions.actions-not-certified-by-github-comment %}
5859
name: Java CI with Gradle
5960

6061
on:
@@ -109,6 +110,7 @@ The workflow template will run the `build` task by default. In the default Gradl
109110
If you use different commands to build your project, or you want to use a different task, you can specify those. For example, you may want to run the `package` task that's configured in your `ci.gradle` file.
110111

111112
```yaml copy
113+
{% data reusables.actions.actions-not-certified-by-github-comment %}
112114
steps:
113115
- uses: {% data reusables.actions.action-checkout %}
114116
- uses: {% data reusables.actions.action-setup-java %}
@@ -136,6 +138,7 @@ After your build has succeeded and your tests have passed, you may want to uploa
136138
Gradle will usually create output files like JARs, EARs, or WARs in the `build/libs` directory. You can upload the contents of that directory using the `upload-artifact` action.
137139

138140
```yaml copy
141+
{% data reusables.actions.actions-not-certified-by-github-comment %}
139142
steps:
140143
- uses: {% data reusables.actions.action-checkout %}
141144
- uses: {% data reusables.actions.action-setup-java %}

content/actions/tutorials/build-and-test-code/java-with-maven.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ We recommend that you have a basic understanding of Java and the Maven framework
5555
If you don't find the "Java with Maven" workflow template, copy the following workflow code to a new file called `maven.yml` in the `.github/workflows` directory of your repository.
5656

5757
```yaml copy
58+
{% data reusables.actions.actions-not-certified-by-github-comment %}
5859
name: Java CI with Maven
5960

6061
on:

content/actions/tutorials/build-and-test-code/ruby.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ We recommend that you have a basic understanding of Ruby, YAML, workflow configu
4949
If you don't find the "Ruby" workflow template, copy the following workflow code to a new file called `ruby.yml` in the `.github/workflows` directory of your repository.
5050

5151
```yaml copy
52+
{% data reusables.actions.actions-not-certified-by-github-comment %}
5253
name: Ruby
5354

5455
on:
@@ -102,6 +103,7 @@ Using Ruby's `ruby/setup-ruby` action is the recommended way of using Ruby with
102103
The `setup-ruby` action takes a Ruby version as an input and configures that version on the runner.
103104

104105
```yaml
106+
{% data reusables.actions.actions-not-certified-by-github-comment %}
105107
steps:
106108
- uses: {% data reusables.actions.action-checkout %}
107109
- uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
@@ -170,6 +172,7 @@ jobs:
170172
The `setup-ruby` action will automatically install bundler for you. The version is determined by your `gemfile.lock` file. If no version is present in your lockfile, then the latest compatible version will be installed.
171173

172174
```yaml
175+
{% data reusables.actions.actions-not-certified-by-github-comment %}
173176
steps:
174177
- uses: {% data reusables.actions.action-checkout %}
175178
- uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
@@ -187,6 +190,7 @@ To enable caching, set the following.
187190
{% raw %}
188191

189192
```yaml
193+
{% data reusables.actions.actions-not-certified-by-github-comment %}
190194
steps:
191195
- uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
192196
with:

content/actions/tutorials/build-and-test-code/swift.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ You can configure your job to use a single specific version of Swift, such as `5
127127
{% raw %}
128128

129129
```yaml copy
130+
{% data reusables.actions.actions-not-certified-by-github-comment %}
130131
steps:
131132
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
132133
with:
@@ -142,6 +143,7 @@ steps:
142143
You can use the same commands that you use locally to build and test your code using Swift. This example demonstrates how to use `swift build` and `swift test` in a job:
143144

144145
```yaml copy
146+
{% data reusables.actions.actions-not-certified-by-github-comment %}
145147
steps:
146148
- uses: {% data reusables.actions.action-checkout %}
147149
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf

0 commit comments

Comments
 (0)