File tree 2 files changed +36
-1
lines changed
2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ push :
5
+
6
+ permissions :
7
+ id-token : write
8
+ contents : read
9
+
10
+ jobs :
11
+ test :
12
+ name : Test
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - name : Configure AWS Credentials
17
+ uses : aws-actions/configure-aws-credentials@v4
18
+ with :
19
+ aws-region : ap-northeast-1
20
+ role-to-assume : arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_ASSUME_ROLE_NAME }}
21
+ - name : Install requirments
22
+ run : |
23
+ pip install -r requirements.txt
24
+ - name : Report usage
25
+ run : |
26
+ python report.py --use-aws-default-session
27
+ env :
28
+ AWS_ACCOUNT_ID : ${{ secrets.AWS_ACCOUNT_ID }}
29
+ ZULIP_SITE : ${{ secrets.ZULIP_SITE }}
30
+ ZULIP_EMAIL : ${{ secrets.ZULIP_EMAIL }}
31
+ ZULIP_API_KEY : ${{ secrets.ZULIP_API_KEY }}
32
+ ZULIP_TYPE : ${{ secrets.ZULIP_TYPE }}
33
+ ZULIP_TO : ${{ secrets.ZULIP_TO }}
34
+ ZULIP_TOPIC : ${{ secrets.ZULIP_TOPIC }}
35
+ ZULIP_MESSAGE : ${{ secrets.ZULIP_MESSAGE }}
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ Programatically send AWS usage report to Zulip.
47
47
4 . Run pip install and run report.py.
48
48
49
49
``` console
50
- $ python3 -m pip install -r requirments .txt
50
+ $ python3 -m pip install -r requirements .txt
51
51
$ python3 report.py
52
52
```
53
53
You can’t perform that action at this time.
0 commit comments