File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ Release lazy-actions/gitrivy version <% - version %> 🎉🎉🎉
2
+ <% - url %>
3
+
4
+ #GitHub #GitHubActions #Trivy
Original file line number Diff line number Diff line change
1
+ name : Twitter
2
+
3
+ on :
4
+ release :
5
+ types :
6
+ - " published"
7
+
8
+ jobs :
9
+ tweet :
10
+ name : Tweet New Version
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - uses : lazy-actions/tweet-action@main
16
+ with :
17
+ data : |
18
+ {
19
+ "version": "${{ github.event.release.tag_name }}",
20
+ "url": "${{ github.event.release.html_url }}"
21
+ }
22
+ template_filename : .github/workflows/tweet-action/template.ejs
23
+ oauth_consumer_key : ${{ secrets.TWITTER_CONSUMER_KEY }}
24
+ oauth_consumer_secret : ${{ secrets.TWITTER_CONSUMER_SECRET }}
25
+ oauth_token : ${{ secrets.TWITTER_TOKEN }}
26
+ oauth_token_secret : ${{ secrets.TWITTER_TOKEN_SECRET }}
You can’t perform that action at this time.
0 commit comments