Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: refactor code changes from main #1659

Open
wants to merge 125 commits into
base: grpc-experimental
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
39839ca
chore: update sync-repo-settings.yaml (#1417)
kolea2 May 1, 2024
48d7daf
deps: update dependency com.google.errorprone:error_prone_core to v2.…
renovate-bot May 2, 2024
5a5dfdf
deps: update dependency com.google.guava:guava-testlib to v33.2.0-jre…
renovate-bot May 2, 2024
ac3a1c1
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot May 3, 2024
b265fb3
fix(deps): Update the Java code generator (gapic-generator-java) to 2…
gcf-owl-bot[bot] May 3, 2024
da51c88
chore(main): release 2.19.2 (#1414)
release-please[bot] May 6, 2024
beb8d0d
chore(main): release 2.19.3-SNAPSHOT (#1432)
release-please[bot] May 6, 2024
f93c60f
build(deps): update dependency org.apache.maven.plugins:maven-deploy-…
renovate-bot May 6, 2024
063a81e
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot May 6, 2024
b6f1c89
chore: autogen updates (#1434)
gcf-owl-bot[bot] May 8, 2024
d6c295e
chore: update dependency versions in java templates (#1964) (#1435)
gcf-owl-bot[bot] May 9, 2024
24f8780
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot May 13, 2024
b9cece7
build: update actions/setup-java action to v4 (#1391)
renovate-bot May 13, 2024
80dbca1
deps: update actions/checkout action to v4 (#1390)
renovate-bot May 14, 2024
79f6c46
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot May 16, 2024
b3836a4
chore(main): release 2.19.3 (#1438)
release-please[bot] May 16, 2024
13d9af1
chore(main): release 2.19.4-SNAPSHOT (#1444)
release-please[bot] May 16, 2024
4191938
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot May 17, 2024
29aea34
test(deps): update dependency org.graalvm.buildtools:native-maven-plu…
renovate-bot May 20, 2024
6caf603
build(deps): update dependency org.codehaus.mojo:build-helper-maven-p…
renovate-bot May 20, 2024
15365eb
chore: [java] allow passing libraries_bom_version from env (#1967) (#…
gcf-owl-bot[bot] May 20, 2024
15148f1
test(deps): update dependency org.graalvm.buildtools:junit-platform-n…
renovate-bot May 20, 2024
c3c1317
fix: Migrate off TextPrinter's deprecated methods (#1452)
lqiu96 May 20, 2024
ff5e397
feat: New PropertyMask field which allows partial commits, lookups, a…
gcf-owl-bot[bot] May 20, 2024
992815d
fix: set the correct database id on the key parent when calling Key#g…
nzhenry May 27, 2024
2d380e5
chore(main): release 2.20.0 (#1454)
release-please[bot] May 28, 2024
55c5a63
chore(main): release 2.20.1-SNAPSHOT (#1461)
release-please[bot] May 28, 2024
5058efb
test: add integration test for incomplete key (#1460)
kolea2 May 28, 2024
85b90a2
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot May 28, 2024
bb1b403
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot May 29, 2024
42c643d
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Jun 4, 2024
614e930
deps: update dependency com.google.guava:guava-testlib to v33.2.1-jre…
renovate-bot Jun 4, 2024
e3fac2b
deps: update dependency com.google.errorprone:error_prone_core to v2.…
renovate-bot Jun 4, 2024
e8e1576
build(deps): update dependency org.sonatype.plugins:nexus-staging-mav…
renovate-bot Jun 4, 2024
e7636fd
chore(main): release 2.20.1 (#1476)
release-please[bot] Jun 4, 2024
9d61e9b
Doc: Add gRPC datastore gapic upgrade user guide (#1489)
cindy-peng Jun 25, 2024
44080bc
chore(main): release 2.20.2-SNAPSHOT (#1479)
release-please[bot] Jun 27, 2024
d940c93
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Jun 28, 2024
9293051
chore(main): release 2.20.2 (#1503)
release-please[bot] Jun 28, 2024
d142d9c
feat: enable hermetic library generation (#1462)
diegomarquezp Jun 30, 2024
b55ec32
ci: [java] automatic kokoro label in and /gcbrun comment (#1965) (#1481)
gcf-owl-bot[bot] Jul 1, 2024
43b00f3
test(deps): update dependency com.google.truth:truth to v1.4.3 (#1501)
renovate-bot Jul 1, 2024
515331e
chore: correct hermetic library generation script path (#1506)
diegomarquezp Jul 2, 2024
c146cab
chore: skip hermetic generation on fork PRs (#1510)
diegomarquezp Jul 2, 2024
250f86b
chore: make the owlbot postprocessor check non-required (#1512)
diegomarquezp Jul 3, 2024
d9dff92
chore: disable the Owl Bot post-processor (#1511)
diegomarquezp Jul 3, 2024
b244b8f
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Jul 9, 2024
6a6e925
chore(main): release 2.20.3-SNAPSHOT (#1504)
release-please[bot] Jul 10, 2024
d478009
chore: setup 2.19.x lts branch (#1535)
zhumin8 Jul 31, 2024
21d8cad
chore(main): release 2.21.0 (#1517)
release-please[bot] Aug 5, 2024
9e52395
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Aug 6, 2024
2e39265
chore(main): release 2.21.1-SNAPSHOT (#1538)
release-please[bot] Aug 6, 2024
7bc796e
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Aug 6, 2024
a9e90f3
chore(main): release 2.21.1 (#1540)
release-please[bot] Aug 6, 2024
af6831d
chore(main): release 2.21.2-SNAPSHOT (#1541)
release-please[bot] Aug 20, 2024
642e12f
chore: secure hermetic_library_generation workflow (#1552)
diegomarquezp Aug 20, 2024
8c5f595
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Aug 22, 2024
e368dc5
chore(main): release 2.21.2 (#1553)
release-please[bot] Aug 23, 2024
f209ad4
chore: remove datastore native image sample in favor of sample hosted…
mpeddada1 Aug 27, 2024
da52932
chore: remove unused image tag in .OwlBot-hermetic.yaml (#1559)
diegomarquezp Sep 5, 2024
a9e8a67
chore(main): release 2.21.3-SNAPSHOT (#1554)
release-please[bot] Sep 9, 2024
99e9d17
chore: Update generation configuration at Tue Sep 10 17:00:48 UTC 202…
cloud-java-bot Sep 10, 2024
27e6063
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Sep 10, 2024
5a79fd8
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Sep 10, 2024
18ba37f
deps: update dependency com.google.guava:guava-testlib to v33.3.0-jre…
renovate-bot Sep 10, 2024
8d3af32
deps: update dependency com.google.errorprone:error_prone_core to v2.…
renovate-bot Sep 10, 2024
90811b6
chore: change if condition in workflow (#1567)
JoeWang1127 Sep 11, 2024
4ce3082
chore: Update generation configuration at Wed Sep 11 15:40:41 UTC 202…
cloud-java-bot Sep 11, 2024
266f703
build(deps): update dependency org.apache.maven.plugins:maven-deploy-…
renovate-bot Sep 11, 2024
0478c55
test(deps): update dependency com.google.truth:truth to v1.4.4 (#1520)
renovate-bot Sep 11, 2024
ee788a1
deps: update dependency org.easymock:easymock to v5.4.0 (#1482)
renovate-bot Sep 11, 2024
37a4f58
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Sep 11, 2024
7e7a030
chore(main): release 2.21.3 (#1565)
release-please[bot] Sep 11, 2024
3e33c4c
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Sep 11, 2024
e95d878
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Sep 12, 2024
3e9bf50
chore: Add Clirr exemptions for Protobuf 4.27.4+ runtime (#1575)
lqiu96 Sep 13, 2024
224b137
chore: Update generation configuration at Thu Sep 19 02:21:53 UTC 202…
cloud-java-bot Sep 19, 2024
5440c22
feat: Introducing Tracing with OpenTelemetry API #1537 (#1576)
jimit-j-shah Sep 19, 2024
63218dc
chore(main): release 2.21.4-SNAPSHOT (#1571)
release-please[bot] Sep 20, 2024
b43a5c3
chore: Update generation configuration at Sat Sep 21 02:20:09 UTC 202…
cloud-java-bot Sep 23, 2024
9d719e8
fix: Update opentelemetry-sdk dependency to be test-only (#1595)
jimit-j-shah Sep 24, 2024
23c5c26
fix: Update opentelemetry.version to 1.42.1 to match the BOM version …
jimit-j-shah Sep 24, 2024
2db9e43
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Sep 24, 2024
d2a214c
chore: Update generation configuration at Tue Sep 24 02:23:54 UTC 202…
cloud-java-bot Sep 24, 2024
fae3b74
deps: update dependency com.google.cloud:gapic-libraries-bom to v1.43…
renovate-bot Sep 25, 2024
5d078a4
deps: update dependency com.google.guava:guava-testlib to v33.3.1-jre…
renovate-bot Sep 25, 2024
1286792
feat: add sample code for multiple inequalities indexing consideratio…
cindy-peng Sep 25, 2024
9e9786e
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Sep 26, 2024
e1b7d4b
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Sep 26, 2024
8f74a49
deps: update dependency com.google.testparameterinjector:test-paramet…
renovate-bot Sep 26, 2024
df9705b
chore(main): release 2.22.0 (#1589)
release-please[bot] Sep 30, 2024
678eee2
chore: Update generation configuration at Sat Sep 28 02:22:38 UTC 202…
cloud-java-bot Sep 30, 2024
0da1219
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Sep 30, 2024
742d059
chore: use composite action (#1610)
JoeWang1127 Oct 2, 2024
b299266
chore: Update generation configuration at Wed Oct 9 02:23:35 UTC 202…
cloud-java-bot Oct 9, 2024
6eaff23
deps: update sdk platform java dependencies (#1617)
renovate-bot Oct 14, 2024
fee3f7c
chore(main): release 2.22.1-SNAPSHOT (#1606)
release-please[bot] Oct 14, 2024
e15bb05
chore(main): release 2.23.0 (#1622)
release-please[bot] Oct 14, 2024
3512ba2
chore: Update generation configuration at Tue Oct 15 02:24:25 UTC 202…
cloud-java-bot Oct 15, 2024
d13d9c6
chore: Update generation configuration at Fri Oct 18 02:24:22 UTC 202…
cloud-java-bot Oct 19, 2024
e3c4138
chore: Update generation configuration at Tue Oct 22 02:24:17 UTC 202…
cloud-java-bot Oct 22, 2024
af7de65
chore(main): release 2.23.1-SNAPSHOT (#1623)
release-please[bot] Oct 23, 2024
67f41ff
chore: Update generation configuration at Thu Oct 24 02:23:46 UTC 202…
cloud-java-bot Oct 24, 2024
d3bce79
deps: update googleapis/sdk-platform-java action to v2.48.0 (#1628)
renovate-bot Oct 24, 2024
c44f17a
fix(sample): change update entity sample to use transaction (#1633)
cindy-peng Oct 24, 2024
6453f1e
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Oct 24, 2024
51b7e35
chore(main): release 2.24.0 (#1631)
release-please[bot] Oct 25, 2024
57598d7
deps: update googleapis/sdk-platform-java action to v2.49.0 (#1638)
renovate-bot Oct 28, 2024
bff8540
chore(main): release 2.24.1-SNAPSHOT (#1635)
release-please[bot] Oct 28, 2024
6bc3f1b
chore: Update generation configuration at Sun Oct 27 02:26:19 UTC 202…
cloud-java-bot Oct 28, 2024
fe61f66
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Oct 28, 2024
5899f7c
chore(main): release 2.24.1 (#1641)
release-please[bot] Oct 28, 2024
173a883
fix(doc): Add discriptions for TransactionCallable interface (#1644)
cindy-peng Oct 29, 2024
1189211
fix(doc): Fix return types for batch interface (#1645)
cindy-peng Oct 29, 2024
cb6a8fc
chore: Update generation configuration at Tue Oct 29 02:24:47 UTC 202…
cloud-java-bot Oct 29, 2024
29daac0
chore: Update generation configuration at Wed Oct 30 02:24:22 UTC 202…
cloud-java-bot Oct 30, 2024
ef586ea
chore(main): release 2.24.2-SNAPSHOT (#1643)
release-please[bot] Oct 30, 2024
29f8185
chore: Update generation configuration at Thu Oct 31 02:24:55 UTC 202…
cloud-java-bot Oct 31, 2024
adf7a54
chore: Update generation configuration at Sat Nov 2 02:22:17 UTC 202…
cloud-java-bot Nov 4, 2024
8f32aca
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Nov 4, 2024
92952c8
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Nov 4, 2024
61a1c2b
chore: Update generation configuration at Tue Nov 5 02:22:24 UTC 202…
cloud-java-bot Nov 5, 2024
d05d1a4
chore: Update generation configuration at Wed Nov 6 02:21:44 UTC 202…
cloud-java-bot Nov 6, 2024
73460e0
chore(main): release 2.24.2 (#1648)
release-please[bot] Nov 11, 2024
dc9258c
chore: Update generation configuration at Tue Nov 12 02:21:13 UTC 202…
cloud-java-bot Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/.OwlBot.yaml → .github/.OwlBot-hermetic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

docker:
image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest"
deep-remove-regex:
- "/proto-google-.*/src"

Expand All @@ -29,4 +26,4 @@ deep-copy-regex:
dest: "/owl-bot-staging/$1/grpc-google-cloud-datastore-admin-$1/src"
# Admin & Data APIs share the same wrapper library.
- source: "/google/datastore/admin/(v.*)/.*-java/gapic-google-.*/src"
dest: "/owl-bot-staging/$1/google-cloud-datastore/src"
dest: "/owl-bot-staging/$1/google-cloud-datastore/src"
17 changes: 0 additions & 17 deletions .github/.OwlBot.lock.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ branches:
handleGHRelease: true
releaseType: java-backport
branch: 2.17.x
- bumpMinorPreMajor: true
handleGHRelease: true
releaseType: java-backport
branch: 2.19.x
121 changes: 121 additions & 0 deletions .github/scripts/update_generation_config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
#!/bin/bash
set -e
# This script should be run at the root of the repository.
# This script is used to update googleapis_commitish, gapic_generator_version,
# and libraries_bom_version in generation configuration at the time of running
# and create a pull request.

# The following commands need to be installed before running the script:
# 1. git
# 2. gh
# 3. jq

# Utility functions
# Get the latest released version of a Maven artifact.
function get_latest_released_version() {
local group_id=$1
local artifact_id=$2
latest=$(curl -s "https://search.maven.org/solrsearch/select?q=g:${group_id}+AND+a:${artifact_id}&core=gav&rows=500&wt=json" | jq -r '.response.docs[] | select(.v | test("^[0-9]+(\\.[0-9]+)*$")) | .v' | sort -V | tail -n 1)
echo "${latest}"
}

# Update a key to a new value in the generation config.
function update_config() {
local key_word=$1
local new_value=$2
local file=$3
echo "Update ${key_word} to ${new_value} in ${file}"
sed -i -e "s/^${key_word}.*$/${key_word}: ${new_value}/" "${file}"
}

# The parameters of this script is:
# 1. base_branch, the base branch of the result pull request.
# 2. repo, organization/repo-name, e.g., googleapis/google-cloud-java
# 3. [optional] generation_config, the path to the generation configuration,
# the default value is generation_config.yaml in the repository root.
while [[ $# -gt 0 ]]; do
key="$1"
case "${key}" in
--base_branch)
base_branch="$2"
shift
;;
--repo)
repo="$2"
shift
;;
--generation_config)
generation_config="$2"
shift
;;
*)
echo "Invalid option: [$1]"
exit 1
;;
esac
shift
done

if [ -z "${base_branch}" ]; then
echo "missing required argument --base_branch"
exit 1
fi

if [ -z "${repo}" ]; then
echo "missing required argument --repo"
exit 1
fi

if [ -z "${generation_config}" ]; then
generation_config="generation_config.yaml"
echo "Use default generation config: ${generation_config}"
fi

current_branch="generate-libraries-${base_branch}"
title="chore: Update generation configuration at $(date)"

# try to find a open pull request associated with the branch
pr_num=$(gh pr list -s open -H "${current_branch}" -q . --json number | jq ".[] | .number")
# create a branch if there's no open pull request associated with the
# branch; otherwise checkout the pull request.
if [ -z "${pr_num}" ]; then
git checkout -b "${current_branch}"
else
gh pr checkout "${pr_num}"
fi

mkdir tmp-googleapis
# use partial clone because only commit history is needed.
git clone --filter=blob:none https://github.com/googleapis/googleapis.git tmp-googleapis
pushd tmp-googleapis
git pull
latest_commit=$(git rev-parse HEAD)
popd
rm -rf tmp-googleapis
update_config "googleapis_commitish" "${latest_commit}" "${generation_config}"

# update gapic-generator-java version to the latest
latest_version=$(get_latest_released_version "com.google.api" "gapic-generator-java")
update_config "gapic_generator_version" "${latest_version}" "${generation_config}"

# update libraries-bom version to the latest
latest_version=$(get_latest_released_version "com.google.cloud" "libraries-bom")
update_config "libraries_bom_version" "${latest_version}" "${generation_config}"

git add "${generation_config}"
changed_files=$(git diff --cached --name-only)
if [[ "${changed_files}" == "" ]]; then
echo "The latest generation config is not changed."
echo "Skip committing to the pull request."
exit 0
fi
git commit -m "${title}"
if [ -z "${pr_num}" ]; then
git remote add remote_repo https://cloud-java-bot:"${GH_TOKEN}@github.com/${repo}.git"
git fetch -q --unshallow remote_repo
git push -f remote_repo "${current_branch}"
gh pr create --title "${title}" --head "${current_branch}" --body "${title}" --base "${base_branch}"
else
git push
gh pr edit "${pr_num}" --title "${title}" --body "${title}"
fi
40 changes: 32 additions & 8 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
Expand Down Expand Up @@ -62,7 +61,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- pattern: 2.2.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
Expand All @@ -77,7 +75,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- pattern: 2.12.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
Expand All @@ -92,7 +89,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- pattern: multi-db
Expand All @@ -109,7 +105,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- pattern: V3-experimental
Expand All @@ -125,7 +120,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
Expand All @@ -142,7 +136,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- pattern: 2.17.x
Expand All @@ -158,7 +151,38 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
- pattern: grpc-experimental
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- dependencies (17)
- lint
- clirr
- units (8)
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
- pattern: 2.19.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- dependencies (17)
- lint
- clirr
- units (8)
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
Expand Down
6 changes: 6 additions & 0 deletions .github/trusted-contribution.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
trustedContributors:
- renovate-bot
- gcf-owl-bot[bot]

annotations:
- type: comment
text: "/gcbrun"
- type: label
text: "kokoro:force-run"
2 changes: 1 addition & 1 deletion .github/workflows/approve-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme'
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
script: |
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
matrix:
java: [11, 17, 21]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{matrix.java}}
Expand All @@ -41,8 +41,8 @@ jobs:
name: "units (8)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: temurin
Expand All @@ -51,7 +51,7 @@ jobs:
# https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#jvm
run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java" >> $GITHUB_ENV
shell: bash
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
Expand All @@ -63,8 +63,8 @@ jobs:
steps:
- name: Support longpaths
run: git config --system core.longpaths true
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
Expand All @@ -78,8 +78,8 @@ jobs:
matrix:
java: [17]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{matrix.java}}
Expand All @@ -88,8 +88,8 @@ jobs:
javadoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -100,8 +100,8 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
Expand All @@ -112,8 +112,8 @@ jobs:
clirr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
Expand Down
Loading