This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-go.git
The following commit(s) were added to refs/heads/main by this push:
new 12482ca GH-131: Don't use self-hosted arm runner on forks (#132)
12482ca is described below
commit 12482ca3eb1cd4da21c45325e174f1dac871281b
Author: Sutou Kouhei <[email protected]>
AuthorDate: Tue Sep 17 18:03:43 2024 +0900
GH-131: Don't use self-hosted arm runner on forks (#132)
Fix GH-131
It's not available on forks.
---
.github/workflows/test.yml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index bab3f92..832bd79 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -53,7 +53,11 @@ jobs:
"arch": "amd64",
"go": "1.23",
"runs-on": "ubuntu-latest"
- },
+ }
+ JSON
+ if [ "$GITHUB_REPOSITORY_OWNER" = "apache" ]; then
+ echo "," >> "$GITHUB_OUTPUT"
+ cat <<JSON >> "$GITHUB_OUTPUT"
{
"arch-label": "ARM64",
"arch": "arm64v8",
@@ -67,6 +71,7 @@ jobs:
"runs-on": ["self-hosted", "arm", "linux"]
}
JSON
+ fi
echo "]" >> "$GITHUB_OUTPUT"
echo "JSON" >> "$GITHUB_OUTPUT"
docker: