Skip to content

Test reusable workflows #26

Test reusable workflows

Test reusable workflows #26

Workflow file for this run

name: "Test issue comments"
on:
issue_comment:
types: [created]
jobs:
execute:
runs-on: ubuntu-latest
steps:
if: github.event.issue.pull_request
- name: Checkout code

Check failure on line 11 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

You have an error in your yaml syntax on line 11
uses: actions/checkout@v4
- name: Echo PR number
run: echo "PR number is ${{ github.event.issue.number }}"
- name: Call reusable workflow
uses: ./.github/workflows/reusable.yaml
with:
pr_number: ${{ github.event.issue.number }}