Skip to content

Workflow file for this run

name: PR Command
concurrency:
group: ci-${{ github.run_id }}
cancel-in-progress: true
on:
issue_comment:
types: [created]
jobs:
build-and-test:
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/build_test') }}
steps:
- name: Set latest commit status as pending
uses: myrotvorets/set-commit-status-action@master
with:
sha: ${{ steps.comment-branch.outputs.head_sha }}
token: ${{ secrets.GITHUB_TOKEN }}
status: pending
- name: Command handler for building and testing
id: command
uses: xt0rted/slash-command-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
command: build_test
reaction: "true"
reaction-type: "+1"
allow-edits: "false"
permission-level: write
- name: Build image
id: build-image
uses: ./.github/workflows/ci-build-image.yml
secrets: inherit

Check failure on line 35 in .github/workflows/pr-command.yml

View workflow run for this annotation

GitHub Actions / PR Command

Invalid workflow file

The workflow is not valid. .github/workflows/pr-command.yml (Line: 35, Col: 9): Unexpected value 'secrets'
with:
build-arch: amd64
- name: Print the image
uses: thollander/actions-comment-pull-request@v1
with:
message: |-
Preview image available:
- name: Set latest commit status as ${{ job.status }}
uses: myrotvorets/set-commit-status-action@master
with:
sha: ${{ steps.comment-branch.outputs.head_sha }}
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}