Skip to content

Commit

Permalink
Merge pull request #126 from c-dilks/trigger-validation
Browse files Browse the repository at this point in the history
ci: dispatch `clas12-validation` workflow runs
  • Loading branch information
baltzell authored Oct 9, 2023
2 parents e6b5623 + 367858b commit 3af0200
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Dispatch Validation

on:
pull_request:
push:
branches: [ development ]
tags: [ '*' ]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:

clas12-validation:
name: clas12-validation dispatch
runs-on: ubuntu-latest
steps:
- name: dispatch
uses: c-dilks/trigger-workflow-and-wait@summarize # convictional/[email protected]
with:
owner: JeffersonLab
repo: clas12-validation
summarize: true
github_token: ${{ secrets.CLAS12VALIDATION }}
workflow_file_name: ci.yml
ref: main
client_payload: '{
"source": "${{ github.repository }}",
"title": "${{ github.event.pull_request.title || github.event.head_commit.message }}",
"source_url": "${{ github.event.pull_request.html_url }}",
"git_coatjava": "{\"fork\": \"${{ github.repository }}\", \"branch\": \"${{ github.head_ref || github.ref }}\" }"
}'

0 comments on commit 3af0200

Please sign in to comment.