Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c2388e6
chore(ci): remove redundant post-submit triggers and run composer aud…
bshaffer Oct 12, 2026
b686208
chore(ci): remove legacy owlbot-checks workflow
bshaffer Oct 12, 2026
9032120
Merge remote-tracking branch 'origin/main' into chore/remove-postsubm…
bshaffer Oct 14, 2026
5e97fb2
chore(ci): split out composer audit cron refactor
bshaffer Oct 14, 2026
42a3d2d
chore(ci): restore owlbot-checks.yaml (moved to #9799)
bshaffer Oct 14, 2026
fde385e
chore(ci): run post-submit workflows on release published and open is…
bshaffer Oct 14, 2026
984e90f
feat(dev): verify split repos, Packagist, and Cloud RAD docs in relea…
bshaffer Oct 14, 2026
32a2c1b
chore: verify release check-runs, update release body, and open max o…
bshaffer Oct 14, 2026
b720fbf
chore(dev): remove --from, --docs-only, and --skip-docs from release:…
bshaffer Oct 14, 2026
a643658
chore: simplify ReleaseVerifyCommand structure and use input token di…
bshaffer Oct 14, 2026
0ffb663
chore(dev): rename resolveTarget and simplify table/row building in R…
bshaffer Oct 14, 2026
5cd7563
chore(dev): remove Split Repo column from release:verify
bshaffer Oct 15, 2026
eb76a94
chore(dev): extract verification helpers to Component, ReleaseNotes, …
bshaffer Oct 15, 2026
a4cdb24
chore(dev): move withVerificationTable back into ReleaseVerifyCommand
bshaffer Oct 15, 2026
11628ec
chore(dev): skip verified releases in cron and use collapsible sub-ta…
bshaffer Oct 15, 2026
22004e3
chore(dev): highlight release update message and link to release notes
bshaffer Oct 15, 2026
25114c3
chore(dev): output check runs table in release:verify CLI
bshaffer Oct 15, 2026
f738df4
chore(dev): only show status suffix on Release Verification header wh…
bshaffer Oct 15, 2026
ca296ec
chore(dev): add progress bar indicators to release:verify
bshaffer Oct 15, 2026
4d87fe0
chore(dev): deduplicate check runs by name in GitHub::getCheckRuns
bshaffer Oct 15, 2026
8c34210
Merge remote-tracking branch 'origin/main' into chore/remove-postsubm…
bshaffer Oct 15, 2026
6ddd3d9
chore: move post-submit trigger changes to #9803
bshaffer Oct 16, 2026
da5dfd1
Merge remote-tracking branch 'origin/main' into chore/remove-postsubm…
bshaffer Oct 16, 2026
d17b61c
Merge remote-tracking branch 'origin/main' into chore/remove-postsubm…
bshaffer Oct 28, 2026
c3092d4
fix(dev): use unprefixed Packagist version when composer.json defines…
bshaffer Oct 28, 2026
cfd8173
ci: set COMPOSER_ROOT_VERSION in run-package-tests.sh
bshaffer Oct 28, 2026
77f63d6
Merge branch 'main' into chore/remove-postsubmits-cron-audit
bshaffer Oct 28, 2026
04b6a2e
chore(dev): shorten docs verification grace period to 72 hours
bshaffer Oct 30, 2026
cb7a875
Merge remote-tracking branch 'origin/chore/remove-postsubmits-cron-au…
bshaffer Oct 30, 2026
1443cb1
chore(ci): continue verifying all tags before failing in release-veri…
bshaffer Oct 30, 2026
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
3 changes: 3 additions & 0 deletions .github/run-package-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ run_package_test() {
local DIR=$1
echo "--- Processing ${DIR} ---"
cp "${DIR}/composer.json" "${DIR}/composer-local.json"
local COMPOSER_ROOT_VERSION
COMPOSER_ROOT_VERSION=$(cat "${DIR}/VERSION")
export COMPOSER_ROOT_VERSION

# Update composer to use local packages
local PACKAGE_DEPENDENCIES=(
Expand Down
53 changes: 53 additions & 0 deletions .github/workflows/release-verify.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Verify Releases
on:
schedule:
- cron: '0 9 * * *'
workflow_dispatch:
inputs:
tag:
description: 'Release tag to verify (defaults to unverified releases from the last 14 days)'
required: false

permissions:
contents: read

jobs:
verify:
runs-on: ubuntu-latest
name: Verify Releases
permissions:
contents: write
issues: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: '8.2'
- name: Install dependencies
run: composer --no-interaction --no-ansi --no-progress update -d dev
- name: Verify releases
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
RELEASE_TAG: ${{ inputs.tag }}
run: |
CUTOFF=$(date -u -d "-14 days" +"%Y-%m-%dT%H:%M:%SZ")
TAGS=${RELEASE_TAG:-$(gh api "repos/$GH_REPO/releases?per_page=20" --jq ".[] | select(.published_at >= \"$CUTOFF\" and ((.body // \"\") | contains(\"## Release Verification: ✅ Verified\") | not)) | .tag_name")}
FAILED=0
for TAG in $TAGS; do
./dev/google-cloud release:verify "$TAG" --update-release -t "$GH_TOKEN" || FAILED=1
done
exit $FAILED
- name: Create issue if previous step fails
if: ${{ failure() && github.ref == 'refs/heads/main' }}
uses: googleapis/librarian/.github/actions/create-issue-on-failure@45ada77d3adcdf7f54e94b5ea674a5fa48cb6a75 # v0.46.0
with:
title: "Release verification failed"
body: |
`release:verify` failed for a recent release.

Please check the logs: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
mention: "@googleapis/cloud-sdk-php-team"
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,13 @@ jobs:
--packagist-token="$PACKAGIST_TOKEN" \
--packagist-safe-token="$PACKAGIST_SAFE_TOKEN"
- name: Verify all releases made it to Packagist
env:
RELEASE_TAG: ${{ inputs.tag != '' && inputs.tag || steps.getTag.outputs.tag }}
SPLIT_TOKEN: ${{ secrets.SPLIT_TOKEN }}
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
command: |
./dev/google-cloud release:verify
./dev/google-cloud release:verify "$RELEASE_TAG" -t "$SPLIT_TOKEN"
timeout_minutes: 1
max_attempts: 3
retry_wait_seconds: 30
2 changes: 1 addition & 1 deletion dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Available commands:
component:update:readme-sample Add a sample to a component
release
release:info list information for a google-cloud-php release
release:verify Verifies the package version from packagist.
release:verify Verifies that component releases exist on split repositories, Packagist, and Cloud RAD reference documentation.
repo
repo:compliance ensure all github repositories meet compliance
repo:split [split] Split subtree and push to various remotes.
Expand Down
Loading
Loading