File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 44 "private" : true ,
55 "description" : " Zulip GitHub Actions" ,
66 "scripts" : {
7- "lint" : " eslint ./src" ,
8- "lint:fix" : " eslint --fix ./src" ,
7+ "lint" : " eslint ./src; prettier --check --loglevel=warn **/*.md " ,
8+ "lint:fix" : " eslint --fix ./src; prettier --check --write --loglevel=warn **/*.md " ,
99 "package" : " ncc build src/send-message.ts -o dist/send-message" ,
1010 "test" : " npm run lint"
1111 },
Original file line number Diff line number Diff line change @@ -40,28 +40,30 @@ Format your message using [Zulip Markdown](https://zulip.com/help/format-your-me
4040## Example usage
4141
4242** Send a stream message**
43+
4344``` yml
4445- name : Send a stream message
4546 uses : zulip/github-actions-zulip/send-message@v1
4647 with :
4748 api-key : ${{ secrets.ZULIP_API_KEY }}
48- email : ' username@example.com'
49- organization-url : ' https://org.zulipchat.com'
50- to : ' social'
51- type : ' stream'
52- topic : ' Castle'
53- content : ' I come not, friends, to steal away your hearts.'
49+ email : " username@example.com"
50+ organization-url : " https://org.zulipchat.com"
51+ to : " social"
52+ type : " stream"
53+ topic : " Castle"
54+ content : " I come not, friends, to steal away your hearts."
5455` ` `
5556
5657**Send a private message**
58+
5759` ` ` yml
5860- name : Send a private message
5961 uses : zulip/github-actions-zulip/send-message@v1
6062 with :
6163 api-key : ${{ secrets.ZULIP_API_KEY }}
62- email : ' username@example.com'
63- organization-url : ' https://org.zulipchat.com'
64- to : ' 9 ' # user_id
65- type : ' private'
66- content : ' With mirth and laughter let old wrinkles come.'
64+ email : " username@example.com"
65+ organization-url : " https://org.zulipchat.com"
66+ to : " 9 " # user_id
67+ type : " private"
68+ content : " With mirth and laughter let old wrinkles come."
6769` ` `
You can’t perform that action at this time.
0 commit comments