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

ci: Allow manual invocations for the Protobuf Source CI Job #3463

Merged
merged 5 commits into from
Dec 12, 2024
Merged
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,20 @@ on:
workflow_dispatch:
inputs:
protobuf_runtime_versions:
description: 'Comma separated list of Protobuf-Java versions (i.e. "3.25.x","4.x.y")'
description: 'Comma separated list of Protobuf-Java versions (i.e. "3.25.x","4.x.y").
Note: Surround each version in the list with quotes ("")'
required: true
schedule:
- cron: '0 1 * * *' # Nightly at 1am

name: Downstream Protobuf Compatibility Check Nightly
jobs:
downstream-protobuf-test:
# Checks if PR comes from Release-Please branch or if invoked from nightly job
if: github.head_ref == 'release-please--branches--main' || github.event_name == 'schedule'
# This job runs if any of the three conditions match:
# 1. PR is raised from Release-Please (PR comes from branch: release-please--branches-main)
# 2. Job is invoked by the nightly job (scheduled event)
# 3. Job is manually invoked via Github UI (workflow_dispatch event)
if: github.head_ref == 'release-please--branches--main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-22.04
strategy:
fail-fast: false
Expand Down
Loading