Trunk Check (imageproxy/all/main#127) #253
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trunk Check | |
run-name: ${{ fromJSON(inputs.payload).checkWorkflowRunName }} | |
on: | |
workflow_dispatch: | |
inputs: | |
payload: | |
description: For invocation by Trunk Check | |
required: false | |
permissions: | |
contents: read | |
jobs: | |
check: | |
name: ${{ fromJSON(inputs.payload).checkJobName }} | |
runs-on: ${{ fromJSON(inputs.payload).checkJobRunsOn }} | |
concurrency: | |
group: ${{ fromJSON(inputs.payload).concurrencyGroup }} | |
cancel-in-progress: true | |
steps: | |
- name: Trunk Check | |
uses: trunk-io/trunk-action@v1 | |
with: | |
check-mode: payload |