-
Notifications
You must be signed in to change notification settings - Fork 40
25 lines (25 loc) · 763 Bytes
/
Copy pathissue.yml
File metadata and controls
25 lines (25 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Issue
on:
issues:
types: [opened]
issue_comment:
types: [created]
jobs:
Issue:
runs-on: ubuntu-20.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 }}/issue-action.js"
- run: echo "job.status ${{ job.status }}."