name: Issue
on:
  issues:
    types: [opened]
  issue_comment:
    types: [created]
jobs:
  Issue:
    runs-on: ubuntu-24.04
    steps:
      - run: echo "github.event_name ${{ github.event_name }}"
      - run: echo "github.ref ${{ github.ref }}"
      - run: echo "github.repository ${{ github.repository }}"
      - run: echo "github.workspace ${{ github.workspace }}"
      - run: echo "runner.os ${{ runner.os }}"
      - run: pwd
      - name: Check out repository code
        uses: actions/checkout@v4
      - run: npm install
      - run: ls "${{ github.workspace }}"
      - name: Main work
        env:
          GITHUB_TOKEN: ${{ github.token }}
        run: "${{ github.workspace }}/action.js"
      - run: echo "job.status ${{ job.status }}."
