File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Send PR Approval Status
22
3- permissions :
3+ permissions :
44 contents : read
55 pull-requests : write
66
@@ -25,10 +25,10 @@ jobs:
2525 steps :
2626 - name : Get GitHub App token
2727 id : get_token
28- uses : tibdex/ github-app-token@v1
28+ uses : actions/create- github-app-token@v1
2929 with :
30- app_id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
31- private_key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
30+ app-id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
31+ private-key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
3232 repository : DataDog/datadog-api-spec
3333 - name : Post PR review status check
3434 uses : DataDog/github-actions/post-review-status@v2
Original file line number Diff line number Diff line change 11name : Prepare release
22
3- permissions :
3+ permissions :
44 contents : write
55 pull-requests : write
66
@@ -17,10 +17,10 @@ jobs:
1717 steps :
1818 - name : Get GitHub App token
1919 id : get_token
20- uses : tibdex/ github-app-token@v1
20+ uses : actions/create- github-app-token@v1
2121 with :
22- app_id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
23- private_key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
22+ app-id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
23+ private-key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
2424
2525 - name : Checkout code
2626 uses : actions/checkout@v3
Original file line number Diff line number Diff line change 11name : Release
22
3- permissions :
3+ permissions :
44 contents : write
55 pull-requests : write
66
@@ -18,10 +18,10 @@ jobs:
1818 steps :
1919 - name : Get GitHub App token
2020 id : get_token
21- uses : tibdex/ github-app-token@v1
21+ uses : actions/create- github-app-token@v1
2222 with :
23- app_id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
24- private_key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
23+ app-id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
24+ private-key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
2525 - name : Create release
2626 uses : actions/github-script@v6
2727 env :
Original file line number Diff line number Diff line change 11name : Run Tests
22
3- permissions :
3+ permissions :
44 contents : read
55
66env :
@@ -29,10 +29,10 @@ jobs:
2929 steps :
3030 - name : Get GitHub App token
3131 id : get_token
32- uses : tibdex/ github-app-token@v1
32+ uses : actions/create- github-app-token@v1
3333 with :
34- app_id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
35- private_key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
34+ app-id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
35+ private-key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
3636 - uses : actions/checkout@v3
3737 with :
3838 fetch-depth : 0
@@ -137,10 +137,10 @@ jobs:
137137 - name : Get GitHub App token
138138 if : github.event_name == 'pull_request'
139139 id : get_token
140- uses : tibdex/ github-app-token@v1
140+ uses : actions/create- github-app-token@v1
141141 with :
142- app_id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
143- private_key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
142+ app-id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
143+ private-key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
144144 repository : DataDog/datadog-api-spec
145145 - name : Post status check
146146 uses : DataDog/github-actions/post-status-check@v2
Original file line number Diff line number Diff line change @@ -44,10 +44,10 @@ jobs:
4444 - name : Get GitHub App token
4545 if : github.event_name == 'pull_request'
4646 id : get_token
47- uses : tibdex/ github-app-token@v1
47+ uses : actions/create- github-app-token@v1
4848 with :
49- app_id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
50- private_key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
49+ app-id : ${{ secrets.PIPELINE_GITHUB_APP_ID }}
50+ private-key : ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
5151 repository : DataDog/datadog-api-spec
5252 - name : Checkout code
5353 uses : actions/checkout@v3
8484 SLEEP_AFTER_REQUEST : ${{ vars.SLEEP_AFTER_REQUEST }}
8585 PYTEST_ADDOPTS : " --ddtrace"
8686 DD_PYTEST_OPERATION_NAME : " test"
87- DD_TRACE_PROPAGATION_STYLE_INJECT : " datadog"
87+ DD_TRACE_PROPAGATION_STYLE_INJECT : " datadog"
8888 - name : Post failure status check
8989 if : failure() && github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'datadog-api-spec/generated/')
9090 uses : DataDog/github-actions/post-status-check@v2
You can’t perform that action at this time.
0 commit comments