File tree 3 files changed +59
-0
lines changed
3 files changed +59
-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 : npm install
20
+ - run : ls "${{ github.workspace }}"
21
+ - name : Main work
22
+ env :
23
+ GITHUB_TOKEN : ${{ github.token }}
24
+ run : " ${{ github.workspace }}/issue-action.js"
25
+ - 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 )
Original file line number Diff line number Diff line change
1
+ {
2
+ "bin" : {
3
+ "china-dictatorship" : " china-dictatorship"
4
+ },
5
+ "dependencies" : {},
6
+ "description" : " 2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 710律师劫,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱" ,
7
+ "devDependencies" : {
8
+ "@actions/core" : " ^1.2.7" ,
9
+ "@actions/github" : " ^4.0.0"
10
+ },
11
+ "files" : [
12
+ " index.js" ,
13
+ " china-dictatorship" ,
14
+ " README.md" ,
15
+ " README.adoc" ,
16
+ " README.html"
17
+ ],
18
+ "keywords" : [
19
+ " china" ,
20
+ " dictatorship"
21
+ ],
22
+ "license" : " CC-BY-SA-4.0" ,
23
+ "name" : " china-dictatorship" ,
24
+ "repository" : " cirosantilli/china-dictatorship" ,
25
+ "scripts" : {
26
+ "prepublishOnly" : " cp README.adoc README.md;make"
27
+ },
28
+ "version" : " 0.0.74"
29
+ }
You can’t perform that action at this time.
0 commit comments