1
0
mirror of synced 2026-01-07 18:01:41 -05:00

Merge pull request #28327 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2023-09-18 12:58:28 -07:00
committed by GitHub
19 changed files with 20 additions and 27 deletions

View File

@@ -16,7 +16,7 @@ topics:
- Python
shortTitle: Build & test Python
---
{% data reusables.actions.enterprise-github-hosted-runners %}
## Introduction
@@ -115,7 +115,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
# You can use PyPy versions in python-version.
# For example, {% ifversion actions-node16-action %}pypy2.7 and pypy3.9{% else %}pypy2 and pypy3{% endif %}
# For example, pypy2.7 and pypy3.9
matrix:
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
@@ -176,7 +176,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", {% ifversion actions-node16-action %}pypy2.7, pypy3.9{% else %}pypy2, pypy3{% endif %}]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", pypy2.7, pypy3.9]
exclude:
- os: macos-latest
python-version: "3.7"

View File

@@ -60,7 +60,7 @@ Your workflow will need to use the `upload-sarif` action, which is part of the `
- `sarif-file`, which configures the file or directory of SARIF files to be uploaded. The directory or file path is relative to the root of the repository.
- `category` (optional), which assigns a category for results in the SARIF file. This enables you to analyze the same commit in multiple ways and review the results using the {% data variables.product.prodname_code_scanning %} views in {% data variables.product.prodname_dotcom %}. For example, you can analyze using multiple tools, and in mono-repos, you can analyze different slices of the repository based on the subset of changed files.
For more information see the [`upload-sarif` action](https://github.com/github/codeql-action/tree/{% ifversion actions-node16-action %}v2{% else %}v1{% endif %}/upload-sarif).
For more information see the [`upload-sarif` action](https://github.com/github/codeql-action/tree/v2/upload-sarif).
The `upload-sarif` action can be configured to run when the `push` and `scheduled` event occur. For more information about {% data variables.product.prodname_actions %} events, see "[AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows)."

View File

@@ -1,7 +0,0 @@
# Reference: #6447
# Versions of actions used in workflows have been updated to their Node 16 version.
versions:
fpt: '*'
ghec: '*'
ghes: '>=3.5'
ghae: '>= 3.5'

View File

@@ -1 +1 @@
actions/cache@{% ifversion actions-node16-action %}v3{% else %}v2{% endif %}
actions/cache@v3

View File

@@ -1 +1 @@
actions/checkout@{% ifversion actions-node16-action %}v3{% else %}v2{% endif %}
actions/checkout@v4

View File

@@ -1 +1 @@
github/codeql-action/analyze@{% ifversion actions-node16-action %}v2{% else %}v1{% endif %}
github/codeql-action/analyze@v2

View File

@@ -1 +1 @@
github/codeql-action/autobuild@{% ifversion actions-node16-action %}v2{% else %}v1{% endif %}
github/codeql-action/autobuild@v2

View File

@@ -1 +1 @@
github/codeql-action/init@{% ifversion actions-node16-action %}v2{% else %}v1{% endif %}
github/codeql-action/init@v2

View File

@@ -1 +1 @@
github/codeql-action/upload-sarif@{% ifversion actions-node16-action %}v2{% else %}v1{% endif %}
github/codeql-action/upload-sarif@v2

View File

@@ -1 +1 @@
actions/download-artifact@{% ifversion actions-node16-action %}v3{% else %}v2{% endif %}
actions/download-artifact@v3

View File

@@ -1 +1 @@
actions/github-script@{% ifversion actions-node16-action %}v6{% else %}v5{% endif %}
actions/github-script@v6

View File

@@ -1 +1 @@
actions/labeler@{% ifversion actions-node16-action %}v4{% else %}v3{% endif %}
actions/labeler@v4

View File

@@ -1 +1 @@
actions/setup-dotnet@{% ifversion actions-node16-action %}v3{% else %}v1{% endif %}
actions/setup-dotnet@v3

View File

@@ -1 +1 @@
actions/setup-go@{% ifversion actions-setup-go-default-cache-enabled %}v4{% elsif actions-node16-action %}v3{% else %}v2{% endif %}
actions/setup-go@{% ifversion actions-setup-go-default-cache-enabled %}v4{% else %}v3{% endif %}

View File

@@ -1 +1 @@
actions/setup-java@{% ifversion actions-node16-action %}v3{% else %}v2{% endif %}
actions/setup-java@v3

View File

@@ -1 +1 @@
actions/setup-node@{% ifversion actions-node16-action %}v3{% else %}v2{% endif %}
actions/setup-node@v4

View File

@@ -1 +1 @@
actions/setup-python@{% ifversion actions-node16-action %}v4{% else %}v2{% endif %}
actions/setup-python@v4

View File

@@ -1 +1 @@
actions/stale@{% ifversion actions-node16-action %}v5{% else %}v4{% endif %}
actions/stale@v5

View File

@@ -1 +1 @@
actions/upload-artifact@{% ifversion actions-node16-action %}v3{% else %}v2{% endif %}
actions/upload-artifact@v3