File tree 2 files changed +29
-0
lines changed
2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Issue
2
+ on :
3
+ issues :
4
+ types : [opened]
5
+ issue_comment :
6
+ types : [created]
7
+ jobs :
8
+ Issue :
9
+ runs-on : ubuntu-20.04
10
+ steps :
11
+ - run : echo "github.event_name ${{ github.event_name }}"
12
+ - run : echo "github.ref ${{ github.ref }}"
13
+ - run : echo "github.repository ${{ github.repository }}"
14
+ - run : echo "github.workspace ${{ github.workspace }}"
15
+ - run : echo "runner.os ${{ runner.os }}"
16
+ - run : pwd
17
+ - name : Check out repository code
18
+ uses : actions/checkout@v4
19
+ - run : ls "${{ github.workspace }}"
20
+ - name : Main work
21
+ env :
22
+ GITHUB_TOKEN : ${{ github.token }}
23
+ run : " ${{ github.workspace }}/issue-action.js"
24
+ - run : echo "job.status ${{ job.status }}."
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
2
+ console . log ( 'Starting action.js' )
3
+ const github = require ( '@actions/github' ) ;
4
+ const payload = github . context . payload
5
+ console . log ( payload )
You can’t perform that action at this time.
0 commit comments