File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # This file is for ServiceNow Dev Program Hacktoberfest Tracking and can be ignored or deleted.
2+
3+ name : Record Hacktrack Event
4+ on :
5+ push :
6+ branches : master
7+ fork :
8+ branches : master
9+ issues :
10+ types : [opened, closed]
11+ branches : master
12+ pull_request_target :
13+ types : [opened, closed]
14+ branches : master
15+ jobs :
16+ deployment :
17+ runs-on : ubuntu-latest
18+ steps :
19+ # - name: Log payload
20+ # env:
21+ # GITHUB_CONTEXT: ${{ toJson(github) }}
22+ # run: |
23+ # echo "$GITHUB_CONTEXT"
24+ - name : Contact DPR
25+ id : myRequest
26+ uses : fjogeleit/http-request-action@v1.8.1
27+ with :
28+ url : ${{ format('https://{0}.service-now.com/api/x_snc_hacktrack/hacktrack', secrets.HT_INSTANCE_NAME) }}
29+ method : ' POST'
30+ contentType : application/json
31+ data : ${{ toJson(github) }}
32+ username : ${{ secrets.ADMIN_USERNAME }}
33+ password : ${{ secrets.ADMIN_PASSWORD }}
34+ - name : Show Response
35+ run : echo ${{ steps.myRequest.outputs.response }}
You can’t perform that action at this time.
0 commit comments