Skip to content

test(go): create basic validation scaffold #9

test(go): create basic validation scaffold

test(go): create basic validation scaffold #9

Workflow file for this run

# Copyright (c) 2025 ADBC Drivers Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
# This is a common workflow for performing basic PR checks, like ensuring the
# title format.
name: Dev PR
on:
pull_request_target:
types:
- opened
- edited
- synchronize
- ready_for_review
- review_requested
concurrency:
group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
pr_standard:
name: "Check PR"
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Check PR title format
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
git clone --depth 1 https://github.com/adbc-drivers/dev
python dev/adbc_drivers_dev/title_check.py $(pwd) "$PR_TITLE"
# TODO: assign milestone