Skip to content

[github plugin] split the field github.repo #22

[github plugin] split the field github.repo

[github plugin] split the field github.repo #22

Workflow file for this run

name: Validate registry.yaml
on:
pull_request:
branches: [ main ]
paths:
- 'registry.yaml'
push:
branches: [ main ]
paths:
- 'registry.yaml'
workflow_dispatch:
# Checks if any concurrent jobs under the same pull request or branch are being executed
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
validate-registry:
name: validate-registry
runs-on: ubuntu-22.04
steps:
- name: Checkout ⤵️
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version: '1.21'
check-latest: true
- name: Build registry artifact tool
working-directory: build/registry
run: make
- name: Validate registry.yaml
working-directory: build/registry
run: |
./bin/registry validate-registry \
../../registry.yaml \