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/actions/guides/building-and-testing-python.md
+3-7
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ shortTitle: Build & test Python
18
18
{% data reusables.actions.enterprise-beta %}
19
19
{% data reusables.actions.enterprise-github-hosted-runners %}
20
20
{% data reusables.actions.ae-beta %}
21
+
{% data reusables.actions.actions-not-certified-by-github-note %}
21
22
22
23
## Introduction
23
24
@@ -402,12 +403,8 @@ You can configure your workflow to publish your Python package to a package regi
402
403
403
404
For this example, you will need to create two [PyPI API tokens](https://pypi.org/help/#apitoken). You can use secrets to store the access tokens or credentials needed to publish your package. For more information, see "[Creating and using encrypted secrets](/github/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)."
404
405
405
-
{% raw %}
406
406
```yaml{:copy}
407
-
# This workflow uses actions that are not certified by GitHub.
408
-
# They are provided by a third-party and are governed by
409
-
# separate terms of service, privacy policy, and support
410
-
# documentation.
407
+
{% data reusables.actions.actions-not-certified-by-github-comment %}
password: {% raw %}${{ secrets.PYPI_API_TOKEN }}{% endraw %}
438
435
```
439
-
{% endraw %}
440
436
441
437
For more information about the template workflow, see [`python-publish`](https://github.com/actions/starter-workflows/blob/main/ci/python-publish.yml).
Copy file name to clipboardExpand all lines: content/actions/guides/building-and-testing-ruby.md
+23-21
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ topics:
15
15
{% data reusables.actions.enterprise-beta %}
16
16
{% data reusables.actions.enterprise-github-hosted-runners %}
17
17
{% data reusables.actions.ae-beta %}
18
+
{% data reusables.actions.actions-not-certified-by-github-note %}
18
19
19
20
## Introduction
20
21
@@ -33,8 +34,9 @@ We recommend that you have a basic understanding of Ruby, YAML, workflow configu
33
34
34
35
To get started quickly, add the template to the `.github/workflows` directory of your repository. The workflow shown below assumes that the default branch for your repository is `main`.
35
36
36
-
{% raw %}
37
37
```yaml
38
+
{% data reusables.actions.actions-not-certified-by-github-comment %}
ruby-version: {% raw %}${{ matrix.ruby }}{% endraw %}
232
234
- run: bundle install
233
235
- run: bundle exec rake
234
236
```
235
-
{% endraw %}
236
237
237
238
## Linting your code
238
239
239
240
The following example installs `rubocop` and uses it to lint all files. For more information, see [Rubocop](https://github.com/rubocop-hq/rubocop). You can [configure Rubocop](https://docs.rubocop.org/rubocop/configuration.html) to decide on the specific linting rules.
240
241
241
-
{% raw %}
242
242
```yaml
243
+
{% data reusables.actions.actions-not-certified-by-github-comment %}
@@ -265,6 +266,7 @@ You can configure your workflow to publish your Ruby package to any package regi
265
266
You can store any access tokens or credentials needed to publish your package using repository secrets. The following example creates and publishes a package to `GitHub Package Registry` and `RubyGems`.
266
267
267
268
```yaml
269
+
{% data reusables.actions.actions-not-certified-by-github-comment %}
0 commit comments