Home
last modified time | relevance | path

Searched +full:repo +full:- +full:token (Results 1 – 25 of 271) sorted by relevance

1234567891011

/external/pytorch/.github/workflows/
Dweekly.yml7 # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
8 - cron: 37 7 * * 1
11 permissions: read-all
14 update-commit-hash:
15 runs-on: ubuntu-latest
16 environment: update-commit-hash
18 - name: Checkout repo
21 fetch-depth: 0
22 - name: update-xla-commit-hash
23 continue-on-error: true
[all …]
Dnightly.yml5 - cron: 0 0 * * *
9 # Release candidate tags look like: v1.11.0-rc1
10 - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
11 - ciflow/nightly/*
16 …group: ${{ github.workflow }}--${{ github.event.pull_request.number || github.sha }}-${{ github.ev…
17 cancel-in-progress: true
20 docs-build:
22 uses: ./.github/workflows/_linux-build.yml
24 build-environment: linux-jammy-py3.8-gcc11
25 docker-image-name: pytorch-linux-jammy-py3.8-gcc11
[all …]
Dgenerated-macos-arm64-binary-conda-nightly.yml5 name: macos-arm64-binary-conda
12 - nightly
15 # Release candidate tags look like: v1.11.0-rc1
16 - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
17 - 'ciflow/binaries/*'
18 - 'ciflow/binaries_conda/*'
23 ALPINE_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/tool/alpine"
25 AWS_DEFAULT_REGION: us-east-1
26 BUILD_ENVIRONMENT: macos-arm64-binary-conda
31 …group: macos-arm64-binary-conda-${{ github.event.pull_request.number || github.ref_name }}-${{ git…
[all …]
Dgenerated-macos-arm64-binary-wheel-nightly.yml5 name: macos-arm64-binary-wheel
12 - nightly
15 # Release candidate tags look like: v1.11.0-rc1
16 - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
17 - 'ciflow/binaries/*'
18 - 'ciflow/binaries_wheel/*'
23 ALPINE_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/tool/alpine"
25 AWS_DEFAULT_REGION: us-east-1
26 BUILD_ENVIRONMENT: macos-arm64-binary-wheel
31 …group: macos-arm64-binary-wheel-${{ github.event.pull_request.number || github.ref_name }}-${{ git…
[all …]
/external/bazelbuild-rules_go/go/tools/releaser/
Dgithub.go7 // http://www.apache.org/licenses/LICENSE-2.0
25 "github.com/google/go-github/v36/github"
32 func (gh *githubClient) listTags(ctx context.Context, org, repo string) (_ []*github.RepositoryTag,…
35 err = fmt.Errorf("listing tags in github.com/%s/%s: %w", org, repo, err)
41 tags, resp, err := gh.Repositories.ListTags(ctx, org, repo, opts)
54 func (gh *githubClient) listReleases(ctx context.Context, org, repo string) (_ []*github.Repository…
57 err = fmt.Errorf("listing releases in github.com/%s/%s: %w", org, repo, err)
63 releases, resp, err := gh.Repositories.ListReleases(ctx, org, repo, opts)
79 func (gh *githubClient) getReleaseByTagIncludingDraft(ctx context.Context, org, repo, tag string) (…
80 releases, err := gh.listReleases(ctx, org, repo)
[all …]
/external/jspecify/.github/workflows/
Dupdate-conformance-test-reports.yml4 # * A repository variable named REFERENCE_CHECKER_REPO with the name of the reference checker repo
6 # * A secret named REFERENCE_CHECKER_WORKFLOW_PAT with a fine-grained personal access token that has
8 # repo within this fork of JSpecify. The token must be only for the single repo.
13 paths-ignore:
14 - 'docs/**'
21 shell: bash --noprofile --norc -e -o pipefail -x {0}
24 udpate-reference-checker-reports:
26 runs-on: ubuntu-latest
28 - name: Trigger workflow on ${{ env.reference_checker_repo }}
30 curl -L \
[all …]
/external/pytorch/.github/scripts/
Dgithub_utils.py34 ) -> Tuple[Any, Any]:
37 token = os.environ.get("GITHUB_TOKEN")
38 if token is not None and url.startswith(f"{GITHUB_API_URL}/"):
39 headers["Authorization"] = f"token {token}"
53 for key in ["X-RateLimit-Limit", "X-RateLimit-Remaining"]
55 and int(err.headers["X-RateLimit-Remaining"]) == 0
60 Used: {err.headers['X-RateLimit-Used']}
61 Limit: {err.headers['X-RateLimit-Limit']}
62 Remaining: {err.headers['X-RateLimit-Remaining']}
63 Resets at: {err.headers['x-RateLimit-Reset']}"""
[all …]
Drunner_determinator.py6 https://github.com/pytorch/test-infra/issues/5132) as a user list to determine
13 - Users are GitHub usernames with the @ prefix
14 - If the first line is a "*" then all users will use the new runners
15 - If the first line is a "!" then all users will use the old runners
16 - Each user is also a comma-separated list of features/experiments to enable
17 - A "#" prefix indicates the user is opted out of the new runners but is opting
45 GH_OUTPUT_KEY_AMI = "runner-ami"
46 GH_OUTPUT_KEY_LABEL_TYPE = "label-type"
60 def format(self, record: LogRecord) -> str:
67 handler.setFormatter(ColorFormatter(fmt="%(levelname)-8s: %(message)s"))
[all …]
Ddocathon-label-sync.py8 def main() -> None:
9 token = os.environ.get("GITHUB_TOKEN")
15 g = Github(token)
16 repo = g.get_repo(f"{repo_owner}/{repo_name}")
17 pull_request = repo.get_pull(pull_request_number)
28 issue = repo.get_issue(issue_number)
31 label.name == "docathon-h1-2024" for label in issue_labels
36 print("The 'docathon-h1-2024' label is not present in the issue.")
/external/executorch/.github/scripts/
Dgithub_utils.py4 # This source code is licensed under the BSD-style license found in the
41 ) -> Tuple[Any, Any]:
44 token = os.environ.get("GITHUB_TOKEN")
45 if token is not None and url.startswith(f"{GITHUB_API_URL}/"):
46 headers["Authorization"] = f"token {token}"
57 key in err.headers for key in ["X-RateLimit-Limit", "X-RateLimit-Used"]
61 Used: {err.headers['X-RateLimit-Used']}
62 Limit: {err.headers['X-RateLimit-Limit']}
63 Remaining: {err.headers['X-RateLimit-Remaining']}
64 Resets at: {err.headers['x-RateLimit-Reset']}"""
[all …]
/external/google-cloud-java/java-gkehub/proto-google-cloud-gkehub-v1alpha/src/main/java/com/google/cloud/gkehub/configmanagement/v1alpha/
DSyncStateOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
30 * Token indicating the state of the repo.
42 * Token indicating the state of the repo.
55 * Token indicating the state of the importer.
67 * Token indicating the state of the importer.
80 * Token indicating the state of the syncer.
92 * Token indicating the state of the syncer.
106 * Timestamp of when ACM last successfully synced the repo
123 * Timestamp of when ACM last successfully synced the repo
140 * Timestamp type of when ACM last successfully synced the repo
[all …]
/external/google-cloud-java/java-gkehub/proto-google-cloud-gkehub-v1beta/src/main/java/com/google/cloud/gkehub/configmanagement/v1beta/
DSyncStateOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
30 * Token indicating the state of the repo.
42 * Token indicating the state of the repo.
55 * Token indicating the state of the importer.
67 * Token indicating the state of the importer.
80 * Token indicating the state of the syncer.
92 * Token indicating the state of the syncer.
106 * Timestamp of when ACM last successfully synced the repo
123 * Timestamp of when ACM last successfully synced the repo
140 * Timestamp type of when ACM last successfully synced the repo
[all …]
/external/google-cloud-java/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/configmanagement/v1/
DSyncStateOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
30 * Token indicating the state of the repo.
42 * Token indicating the state of the repo.
55 * Token indicating the state of the importer.
67 * Token indicating the state of the importer.
80 * Token indicating the state of the syncer.
92 * Token indicating the state of the syncer.
106 * Timestamp of when ACM last successfully synced the repo
123 * Timestamp of when ACM last successfully synced the repo
140 * Timestamp type of when ACM last successfully synced the repo
[all …]
/external/pytorch/torch/
Dhub.py1 # mypy: allow-untyped-defs
25 class _Faketqdm: # type: ignore[no-redef]
78 # matches bfd8deac from resnet18-bfd8deac.pth
79 HASH_REGEX = re.compile(r"-([a-f0-9]*)\.")
128 # See https://docs.github.com/en/rest/reference/repos#download-a-repository-archive-zip
179 f"repo could not be found in the cache ({get_dir()})"
186 return r.read().decode(r.headers.get_content_charset("utf-8"))
192 token = os.environ.get(ENV_GITHUB_TOKEN)
193 if token is not None:
194 headers["Authorization"] = f"token {token}"
[all …]
/external/googleapis/google/cloud/gkehub/v1/configmanagement/
Dconfigmanagement.proto7 // http://www.apache.org/licenses/LICENSE-2.0
46 // The user-defined name for the cluster used by ClusterSelectors to group
89 // Git repo configuration for the cluster.
92 // Specifies whether the Config Sync Repo is
97 // Git repo configuration for a single cluster.
106 // repo to sync. Default: the root directory of the repository.
115 // Type of secret configured for access to the Git repo.
118 // URL for the HTTPS proxy to be used when communicating with the Git repo.
166 // The deployment state for open source HNC (e.g. v0.7.0-hc.0)
169 // The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
[all …]
/external/googleapis/google/cloud/gkehub/v1beta/configmanagement/
Dconfigmanagement.proto7 // http://www.apache.org/licenses/LICENSE-2.0
46 // The user-defined name for the cluster used by ClusterSelectors to group
95 // Git repo configuration for the cluster.
98 // Specifies whether the Config Sync Repo is
103 // Git repo configuration for a single cluster.
112 // repo to sync. Default: the root directory of the repository.
121 // Type of secret configured for access to the Git repo.
124 // URL for the HTTPS proxy to be used when communicating with the Git repo.
178 // The deployment state for open source HNC (e.g. v0.7.0-hc.0)
181 // The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
[all …]
/external/googleapis/google/cloud/gkehub/v1alpha/configmanagement/
Dconfigmanagement.proto7 // http://www.apache.org/licenses/LICENSE-2.0
46 // The user-defined name for the cluster used by ClusterSelectors to group
95 // Git repo configuration for the cluster.
98 // Specifies whether the Config Sync Repo is
103 // Git repo configuration for a single cluster.
112 // repo to sync. Default: the root directory of the repository.
121 // Type of secret configured for access to the Git repo.
124 // URL for the HTTPS proxy to be used when communicating with the Git repo.
181 // The deployment state for open source HNC (e.g. v0.7.0-hc.0)
184 // The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
[all …]
/external/googleapis/google/devtools/artifactregistry/v1/
Dartifact.proto7 // http://www.apache.org/licenses/LICENSE-2.0
47 // "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/
49 // where "us-west4" is the registry_location, "test-project" is the
50 // project_id, "test-repo" is the repository_name and
57 …// us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9…
110 // The token to retrieve the next page of artifacts, or empty if there are no
135 // "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/
136 // com.google.guava:guava:31.0-jre",
137 // where "us-west4" is the registry_location, "test-project" is the
138 // project_id, "test-repo" is the repository_name and
[all …]
/external/google-cloud-java/java-artifact-registry/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/
Dartifact.proto7 // http://www.apache.org/licenses/LICENSE-2.0
47 // "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/
49 // where "us-west4" is the registry_location, "test-project" is the
50 // project_id, "test-repo" is the repository_name and
57 …// us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9…
110 // The token to retrieve the next page of artifacts, or empty if there are no
135 // "projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/
136 // com.google.guava:guava:31.0-jre",
137 // where "us-west4" is the registry_location, "test-project" is the
138 // project_id, "test-repo" is the repository_name and
[all …]
/external/google-cloud-java/owl-bot-postprocessor/synthtool/gcp/templates/java_library/.github/workflows/
Dapprove-readme.yaml7 # http://www.apache.org/licenses/LICENSE-2.0
18 name: auto-merge-readme
21 runs-on: ubuntu-latest
22 if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme'
24 - uses: actions/github-script@v6
26 github-token: {{ '${{secrets.YOSHI_APPROVER_TOKEN}}' }}
28 // only approve PRs from yoshi-automation
29 if (context.payload.pull_request.user.login !== "yoshi-automation") {
43 owner: context.repo.owner,
44 repo: context.repo.repo,
[all …]
/external/sdk-platform-java/java-common-protos/.github/workflows/
Dapprove-readme.yaml7 # http://www.apache.org/licenses/LICENSE-2.0
18 name: auto-merge-readme
21 runs-on: ubuntu-latest
22 if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme'
24 - uses: actions/github-script@v6
26 github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
28 // only approve PRs from yoshi-automation
29 if (context.payload.pull_request.user.login !== "yoshi-automation") {
43 owner: context.repo.owner,
44 repo: context.repo.repo,
[all …]
/external/bazelbuild-rules_python/python/private/
Dauth.bzl7 # http://www.apache.org/licenses/LICENSE-2.0
19 Reference: https://github.com/bazelbuild/bazel/blob/6.3.2/tools/build_defs/repo/http.bzl#L109
24 load("@bazel_tools//tools/build_defs/repo:utils.bzl", "read_netrc", "read_user_netrc", "use_netrc")
26 …com/bazelbuild/bazel@26c6add3f9809611ad3795bce1e5c0fb37902902/-/blob/tools/build_defs/repo/http.bzl
38 Example attribute and netrc for a http download to an oauth2 enabled API using a bearer token:
50 password RANDOM-TOKEN
56 Authorization: Bearer RANDOM-TOKEN
71 …"""Utility for retrieving netrc-based authentication parameters for repository download rules used…
/external/pytorch/tools/github/
Dgithub_utils.py20 ) -> tuple[Any, Any]:
23 token = os.environ.get("GITHUB_TOKEN")
24 if token is not None and url.startswith("https://api.github.com/"):
25 headers["Authorization"] = f"token {token}"
32 key in err.headers for key in ["X-RateLimit-Limit", "X-RateLimit-Used"]
36 Used: {err.headers['X-RateLimit-Used']}
37 Limit: {err.headers['X-RateLimit-Limit']}
38 Remaining: {err.headers['X-RateLimit-Remaining']}
39 Resets at: {err.headers['x-RateLimit-Reset']}"""
51 ) -> Any:
[all …]
/external/google-auth-library-java/.github/workflows/
Dauto-release.yaml7 # http://www.apache.org/licenses/LICENSE-2.0
18 name: auto-release
21 runs-on: ubuntu-latest
22 if: contains(github.head_ref, 'release-please')
24 - uses: actions/github-script@v6
26 github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
29 // only approve PRs from release-please[bot]
30 if (context.payload.pull_request.user.login !== "release-please[bot]") {
41 owner: context.repo.owner,
42 repo: context.repo.repo,
[all …]
/external/kotlinx.coroutines/docs/topics/
Dcoroutines-and-channels.md1 <contribute-url>https://github.com/Kotlin/kotlinx.coroutines/edit/master/docs/topics/</contribute-u…
21 …olutions` branch of the [project's repository](http://github.com/kotlin-hands-on/intro-coroutines).
28 2. Clone the [project template](http://github.com/kotlin-hands-on/intro-coroutines) by choosing **G…
34 git clone https://github.com/kotlin-hands-on/intro-coroutines
37 ### Generate a GitHub developer token
40 token. If you have two-factor authentication enabled, a token will be enough.
42 Generate a new GitHub token to use the GitHub API with [your account](https://github.com/settings/t…
44 1. Specify the name of your token, for example, `coroutines-tutorial`:
46 ![Generate a new GitHub token](generating-token.png){width=700}
48 2. Do not select any scopes. Click **Generate token** at the bottom of the page.
[all …]

1234567891011