From 04f7442c103cc11a86743450b93357827c778a87 Mon Sep 17 00:00:00 2001 From: Alex Eagle <4302968+tiponada4l@users.noreply.github.com> Date: Fri, 11 Feb 2022 08:03:34 -0800 Subject: [PATCH] chore: Update github archive URLs to have stable SHAs (#32) Required per https://github.com/bazel-contrib/SIG-rules-authors/issues/11 --- .github/workflows/workspace_snippet.sh | 2 +- internal_deps.bzl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workspace_snippet.sh b/.github/workflows/workspace_snippet.sh index 3e6d5b3..7ba5dfa 100755 --- a/.github/workflows/workspace_snippet.sh +++ b/.github/workflows/workspace_snippet.sh @@ -19,7 +19,7 @@ http_archive( name = "aspect_bazel_lib", sha256 = "${SHA}", strip_prefix = "${PREFIX}", - url = "https://github.com/aspect-build/bazel-lib/archive/${TAG}.tar.gz", + url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/${TAG}.tar.gz", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") diff --git a/internal_deps.bzl b/internal_deps.bzl index 75df7c5..1aee104 100644 --- a/internal_deps.bzl +++ b/internal_deps.bzl @@ -51,7 +51,7 @@ def bazel_lib_internal_deps(): strip_prefix = "bazel-skylib-1.1.1", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/1.1.1.tar.gz", - "https://github.com/bazelbuild/bazel-skylib/archive/1.1.1.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/archive/refs/tags/1.1.1.tar.gz", ], )