Skip to content

Commit

Permalink
ci(workflows): fix use of create-github-app-token repositories
Browse files Browse the repository at this point in the history
Signed-off-by: Bryce Thuilot <[email protected]>
  • Loading branch information
bthuilot committed Dec 11, 2024
1 parent 7ff6edc commit 07655b1
Show file tree
Hide file tree
Showing 25 changed files with 82 additions and 75 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/approved_status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
app-id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}
private-key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
repositories: DataDog/datadog-api-spec
repositories: datadog-api-spec
- name: Post PR review status check
uses: DataDog/github-actions/post-review-status@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
with:
app-id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}
private-key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
repositories: DataDog/datadog-api-spec
repositories: datadog-api-spec
- name: Post status check
uses: DataDog/github-actions/post-status-check@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
with:
app-id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}
private-key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
repositories: DataDog/datadog-api-spec
repositories: datadog-api-spec
- name: Checkout code
uses: actions/checkout@v3
- name: Post pending status check
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-11-28T11:57:44.730Z
2024-11-25T20:08:40.375Z
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ interactions:
method: POST
url: https://api.datadoghq.com/api/v2/ci/pipelines/analytics/aggregate
response:
body: '{"meta":{"elapsed":170,"request_id":"pddv1ChYzYWhuN3VqLVR4ZTV4V0Q0LVFDYVB3IiwKHKG6G1xIn05fWwGRsD7MITrTmBASHDayL3wqgBcSDEOG5uEAxWRZVp8G4w","status":"done"},"data":{"buckets":[{"computes":{"c0":236880835985.0375},"by":{"@ci.status":"error"}},{"computes":{"c0":3026515237.0540113},"by":{"@ci.status":"skipped"}},{"computes":{"c0":146575581775.90088},"by":{"@ci.status":"success"}}]}}'
body: '{"meta":{"elapsed":90,"request_id":"pddv1ChZiVnBUVTltRVJocUlzSWlyYkdkRHFRIi0KHQLKXxzUXfzSm-D5KYypc61Y_NGGMKnRbrtODJpWEgwQ-7lds-czCpOBaB4","status":"done"},"data":{"buckets":[]}}
'
code: 200
duration: 0ms
headers:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-11-28T11:57:44.947Z
2024-11-25T20:08:40.699Z
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,11 @@ interactions:
- application/json
id: 0
method: GET
url: https://api.datadoghq.com/api/v2/ci/pipelines/events?filter%5Bquery%5D=%40ci.provider.name%3Acircleci&filter%5Bfrom%5D=2022-11-28T11%3A27%3A44.947Z&filter%5Bto%5D=2022-11-28T11%3A57%3A44.947Z&page%5Blimit%5D=5
url: https://api.datadoghq.com/api/v2/ci/pipelines/events?filter%5Bquery%5D=%40ci.provider.name%3Acircleci&filter%5Bfrom%5D=2024-11-25T19%3A38%3A40.699Z&filter%5Bto%5D=2024-11-25T20%3A08%3A40.699Z&page%5Blimit%5D=5
response:
body: '{"data":[{"id":"AgAAAYS-GYtIKjvAWQAAAAAAAAAYAAAAAEFZUy1HWXRJQUFDVGxWdU5hQ2MyOW5kYQAAACQAAAAAMDE4NGJlMWItODM2OC00YWNkLTg0ZGMtZTYzMDMzMjk5Mjgz","type":"cipipeline","attributes":{"attributes":{"duration":176127000000,"git":{"commit":{"committer":{"date":"2022-11-28T11:53:10Z","name":"John
Doe","email":"[email protected]","date_timestamp":1669636390000},"author":{"date":"2022-11-28T11:53:10Z","name":"John
Doe","email":"[email protected]","date_timestamp":1669636390000},"message":"Directly
send SIGPROF signals to thread holding Global VM Lock","sha":"e1d41e2ebc93f48d901d3baa6cbe84f71bdb500a"},"repository_url":"https://github.com/DataDog/repo","repository":{"path":"/DataDog/repo","scheme":"https","name":"DataDog/repo","host":"github.com","id":"github.com/DataDog/repo"},"branch":"johndoe/directly-signal-gvl-thread"},"ci":{"pipeline":{"name":"build-and-test","id":"e67854de-34d7-4782-a62a-2231977026a6","url":"https://app.circleci.com/pipelines/workflows/e67804de-0000-4782-a62a-2231977026a6"},"provider":{"instance":"circleci","name":"circleci"},"job":{"name":"test-3.0","id":"b2fd7e9c-be84-4ad7-9cc5-3796b0cdbede","url":"https://app.circleci.com/jobs/gh/DataDog/repo/301777"},"status":"success"},"circleci":{"result":"success"},"start":1669636479817000000},"ci_level":"job","tags":["source:apm","source:apm"]}},{"id":"AgAAAYS-GWnbVbAEgQAAAAAAAAAYAAAAAEFZUy1HV25iQUFDWG5zSTV2dWM3dzNkYQAAACQAAAAAMDE4NGJlMWItODM2OC00YWNkLTg0ZGMtZTYzMDMzMjk5Mjgz","type":"cipipeline","attributes":{"attributes":{"duration":226593000000,"git":{"commit":{"committer":{"date":"2022-11-28T11:53:10Z","name":"John
Doe","email":"[email protected]","date_timestamp":1669636390000},"author":{"date":"2022-11-28T11:53:10Z","name":"John
Doe","email":"[email protected]","date_timestamp":1669636390000},"message":"Directly
send SIGPROF signals to thread holding Global VM Lock","sha":"e1d41e2ebc93f48d901d3baa6cbe84f71bdb500a"},"repository_url":"https://github.com/DataDog/repo","repository":{"path":"/DataDog/drepo","scheme":"https","name":"DataDog/repo","host":"github.com","id":"github.com/DataDog/repo"},"branch":"johndoe/directly-signal-gvl-thread"},"ci":{"pipeline":{"name":"build-and-test","id":"e67854de-0000-4782-a62a-2231977026a6","url":"https://app.circleci.com/pipelines/workflows/e67854de-0000-4782-a62a-2231977026a6"},"provider":{"instance":"circleci","name":"circleci"},"job":{"name":"build-jruby-9.3-latest-1","id":"55c12323-bb52-48ad-8f66-42a65d50bad5","url":"https://app.circleci.com/jobs/gh/DataDog/repo/301773"},"status":"success"},"circleci":{"result":"success"},"start":1669636420794000000},"ci_level":"job","tags":["source:apm","source:apm"]}},{"id":"AgAAAYS-GUIqP9PNOgAAAAAAAAAYAAAAAEFZUy1HVUlxQUFDekFXOHlOUHZTVVhkYQAAACQAAAAAMDE4NGJlMWItODM2OC00YWNkLTg0ZGMtZTYzMDMzMjk5Mjgz","type":"cipipeline","attributes":{"attributes":{"duration":217224000000,"git":{"commit":{"committer":{"date":"2022-11-28T11:53:10Z","name":"John
Doe","email":"[email protected]","date_timestamp":1669636390000},"author":{"date":"2022-11-28T11:53:10Z","name":"John
Doe","email":"[email protected]","date_timestamp":1669636390000},"message":"Directly
send SIGPROF signals to thread holding Global VM Lock","sha":"e1d41e2ebc93f48d901d3baa6cbe84f71bdb500a"},"repository_url":"https://github.com/DataDog/repo","repository":{"path":"DataDog/repo","scheme":"https","name":"DataDog/repo","host":"github.com","id":"github.com/DataDog/repo"},"branch":"johndoe/directly-signal-gvl-thread"},"ci":{"pipeline":{"name":"build-and-test","id":"e67854de-34d7-4782-a62a-2231977026a6","url":"https://app.circleci.com/pipelines/workflows/e67854de-0000-4782-a62a-2231977026a6"},"provider":{"instance":"circleci","name":"circleci"},"job":{"name":"build_and_test_integration-2.4","id":"dfb0036b-f9b7-414b-a147-1991e4bf7611","url":"https://app.circleci.com/jobs/gh/DataDog/repo/301772"},"status":"success"},"circleci":{"result":"success"},"start":1669636420002000000},"ci_level":"job","tags":["source:apm","source:apm"]}},{"id":"AgAAAYS-GPpigabGUAAAAAAAAAAYAAAAAEFZUy1HUHBpQUFBTEMyS0MwclNtTjNkYQAAACQAAAAAMDE4NGJlMWItODM2OC00YWNkLTg0ZGMtZTYzMDMzMjk5Mjgz","type":"cipipeline","attributes":{"attributes":{"duration":200658000000,"git":{"commit":{"committer":{"date":"2022-11-28T11:53:10Z","name":"John
Doe","email":"[email protected]","date_timestamp":1669636390000},"author":{"date":"2022-11-28T11:53:10Z","name":"John
Doe","email":"[email protected]","date_timestamp":1669636390000},"message":"Directly
send SIGPROF signals to thread holding Global VM Lock","sha":"e1d41e2ebc93f48d901d3baa6cbe84f71bdb500a"},"repository_url":"https://github.com/DataDog/repo","repository":{"path":"/DataDog/repo","scheme":"https","name":"DataDog/repo","host":"github.com","id":"github.com/DataDog/repo"},"branch":"johndoe/directly-signal-gvl-thread"},"ci":{"pipeline":{"name":"build-and-test","id":"e67854de-34d7-4782-a62a-2231977026a6","url":"https://app.circleci.com/pipelines/workflows/e67854de-0000-4782-a62a-2231977026a6"},"provider":{"instance":"circleci","name":"circleci"},"job":{"name":"build-jruby-9.2-latest-1","id":"09df7769-9b36-40cd-af1c-e97a00e233a5","url":"https://app.circleci.com/jobs/gh/DataDog/repo/301760"},"status":"success"},"circleci":{"result":"success"},"start":1669636418192000000},"ci_level":"job","tags":["source:apm","source:apm"]}},{"id":"AgAAAYS-GOd-VzPNOgAAAAAAAAAYAAAAAEFZUy1HT2QtQUFEUzFMbWdMNW4wTFhkYQAAACQAAAAAMDE4NGJlMWItODM2OC00YWNkLTg0ZGMtZTYzMDMzMjk5Mjgz","type":"cipipeline","attributes":{"attributes":{"duration":195791000000,"git":{"commit":{"committer":{"date":"2022-11-28T11:53:10Z","name":"John
Doe","email":"[email protected]","date_timestamp":1669636390000},"author":{"date":"2022-11-28T11:53:10Z","name":"John
Doe","email":"[email protected]","date_timestamp":1669636390000},"message":"Directly
send SIGPROF signals to thread holding Global VM Lock","sha":"e1d41e2ebc93f48d901d3baa6cbe84f71bdb500a"},"repository_url":"https://github.com/DataDog/dd-trace-rb","repository":{"path":"/DataDog/repo","scheme":"https","name":"DataDog/repo","host":"github.com","id":"github.com/DataDog/repo"},"branch":"johndoe/directly-signal-gvl-thread"},"ci":{"pipeline":{"name":"build-and-test","id":"e67854de-34d7-4782-a62a-2231977026a6","url":"https://app.circleci.com/pipelines/workflows/e67854de-0000-4782-a62a-2231977026a6"},"provider":{"instance":"circleci","name":"circleci"},"job":{"name":"build_and_test_integration-2.3","id":"64006f66-267a-47b7-8823-94833268546a","url":"https://app.circleci.com/jobs/gh/DataDog/repo/301761"},"status":"success"},"circleci":{"result":"success"},"start":1669636418223000000},"ci_level":"job","tags":["source:apm","source:apm"]}}],"meta":{"page":{"after":"eyJhZnRlciI6IkFnQUFBWVMtR09kLVZ6UE5PZ0FBQUFBQUFBQVlBQUFBQUVGWlV5MUhUMlF0UVVGRVV6Rk1iV2RNTlc0d1RGaGtZUUFBQUNRQUFBQUFNREU0TkdKbE1XSXRPRE0yT0MwMFlXTmtMVGcwWkdNdFpUWXpNRE16TWprNU1qZ3oifQ"}},"links":{"next":"https://api.datadoghq.com/api/v2/ci/pipelines/events?filter%5Bfrom%5D=2022-11-28T11%3A27%3A44.947Z&filter%5Bquery%5D=%40ci.provider.name%3Acircleci&filter%5Bto%5D=2022-11-28T11%3A57%3A44.947Z&page%5Bcursor%5D=eyJhZnRlciI6IkFnQUFBWVMtR09kLVZ6UE5PZ0FBQUFBQUFBQVlBQUFBQUVGWlV5MUhUMlF0UVVGRVV6Rk1iV2RNTlc0d1RGaGtZUUFBQUNRQUFBQUFNREU0TkdKbE1XSXRPRE0yT0MwMFlXTmtMVGcwWkdNdFpUWXpNRE16TWprNU1qZ3oifQ&page%5Blimit%5D=5"}}'
body: '{"data":[],"meta":{"elapsed":24,"request_id":"pddv1ChZWQVB6eTZTZlNqbUZVNm52YmpoX3ZnIi0KHc-jI3NiRHtRq6GL8JBczM6emoOFupT0-5U_puB2EgwHRoVgx7kIsJDWMYA","status":"done"}}
'
code: 200
duration: 0ms
headers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interactions:
url: https://api.datadoghq.com/api/v2/ci/pipelines/events?filter%5Bfrom%5D=2022-10-21T08%3A44%3A43.365Z&filter%5Bto%5D=2022-10-21T08%3A45%3A13.365Z&page%5Blimit%5D=2
response:
body: '{"data":[{"id":"AgAAAYP5t3tYR3aQMAAAAAAAAAAYAAAAAEFZUDV0M3RZQUFBanF1YktfS2dXdjlOWQAAACQAAAAAMDE4M2Y5YjctN2I1OC00YjQwLWFmNjEtNjllYTUwYjA1YmI3","type":"cipipeline","attributes":{"attributes":{"duration":4000000000,"github":{"conclusion":"success","node_group":"GitHub
Actions","html_url":"https://github.com/DataDog/repo8s-resources","run_attempt":"1","app-id":"128890"},"git":{"commit":{"sha":"ac96ab878db8812762c13c4364ec5aa0b14158ce"},"default_branch":"master","repository_url":"https://github.com/DataDog/repo8s-resources.git","repository":{"path":"/DataDog/repo8s-resources.git","scheme":"https","name":"DataDog/repo8s-resources","host":"github.com","id":"github.com/DataDog/repo8s-resources"},"branch":"EDGEBE-4_dummy_test_env"},"ci":{"pipeline":{"name":"Labeler","id":"3296044030-1"},"node":{"labels":["ubuntu-latest"]},"provider":{"instance":"github-actions","name":"github"},"job":{"name":"label","id":"9025708592","url":"https://github.com/DataDog/repo8s-resources/actions/runs/3296044030/jobs/5435245138"},"status":"success"},"start":1666341891000000000},"ci_level":"job","tags":["source:apm","source:apm"]}},{"id":"AgAAAYP5t3dwEybABgAAAAAAAAAYAAAAAEFZUDV0M2R3QUFBbUM3YndwWmRTSnBQWAAAACQAAAAAMDE4M2Y5YjctN2I1OC00YjQwLWFmNjEtNjllYTUwYjA1YmI3","type":"cipipeline","attributes":{"attributes":{"duration":2445000000000,"github":{"conclusion":"success","html_url":"https://github.com/DataDog/repo","run_attempt":"1","event":"workflow_dispatch","app-id":"128890"},"git":{"commit":{"committer":{"date":"2022-10-07T13:30:54Z","name":"GitHub","email":"[email protected]","date_timestamp":1665149454000},"author":{"name":"Joe","email":"[email protected]"},"message":"Upgrade
Actions","html_url":"https://github.com/DataDog/repo8s-resources","run_attempt":"1","app_id":"128890"},"git":{"commit":{"sha":"ac96ab878db8812762c13c4364ec5aa0b14158ce"},"default_branch":"master","repository_url":"https://github.com/DataDog/repo8s-resources.git","repository":{"path":"/DataDog/repo8s-resources.git","scheme":"https","name":"DataDog/repo8s-resources","host":"github.com","id":"github.com/DataDog/repo8s-resources"},"branch":"EDGEBE-4_dummy_test_env"},"ci":{"pipeline":{"name":"Labeler","id":"3296044030-1"},"node":{"labels":["ubuntu-latest"]},"provider":{"instance":"github-actions","name":"github"},"job":{"name":"label","id":"9025708592","url":"https://github.com/DataDog/repo8s-resources/actions/runs/3296044030/jobs/5435245138"},"status":"success"},"start":1666341891000000000},"ci_level":"job","tags":["source:apm","source:apm"]}},{"id":"AgAAAYP5t3dwEybABgAAAAAAAAAYAAAAAEFZUDV0M2R3QUFBbUM3YndwWmRTSnBQWAAAACQAAAAAMDE4M2Y5YjctN2I1OC00YjQwLWFmNjEtNjllYTUwYjA1YmI3","type":"cipipeline","attributes":{"attributes":{"duration":2445000000000,"github":{"conclusion":"success","html_url":"https://github.com/DataDog/repo","run_attempt":"1","event":"workflow_dispatch","app_id":"128890"},"git":{"commit":{"committer":{"date":"2022-10-07T13:30:54Z","name":"GitHub","email":"[email protected]","date_timestamp":1665149454000},"author":{"name":"Joe","email":"[email protected]"},"message":"Upgrade
to go1.18.7 (#113)","sha":"12dd44ae0c03bed08f7b790ff10e6cba0b887cd7"},"default_branch":"master","repository_url":"https://github.com/DataDog/repo.git","repository":{"path":"/DataDog/repo.git","scheme":"https","name":"DataDog/repo","host":"github.com","id":"github.com/DataDog/repo"},"branch":"master"},"ci":{"pipeline":{"number":20646,"name":"MacOS
Agent tests","id":"3295791228-1","url":"https://github.com/DataDog/repo/actions/runs/3295791228/attempts/1"},"provider":{"instance":"github-actions","name":"github"},"status":"success"},"_top_level":1,"start":1666339449000000000},"ci_level":"pipeline","tags":["source:apm","source:apm"]}}],"meta":{"page":{"after":"eyJhZnRlciI6IkFnQUFBWVA1dDNkd0V5YkFCZ0FBQUFBQUFBQVlBQUFBQUVGWlVEVjBNMlIzUVVGQmJVTTNZbmR3V21SVFNuQlFXQUFBQUNRQUFBQUFNREU0TTJZNVlqY3ROMkkxT0MwMFlqUXdMV0ZtTmpFdE5qbGxZVFV3WWpBMVltSTMifQ"}},"links":{"next":"https://api.datadoghq.com/api/v2/ci/pipelines/events?filter%5Bfrom%5D=2022-10-21T08%3A44%3A43.365Z&filter%5Bto%5D=2022-10-21T08%3A45%3A13.365Z&page%5Bcursor%5D=eyJhZnRlciI6IkFnQUFBWVA1dDNkd0V5YkFCZ0FBQUFBQUFBQVlBQUFBQUVGWlVEVjBNMlIzUVVGQmJVTTNZbmR3V21SVFNuQlFXQUFBQUNRQUFBQUFNREU0TTJZNVlqY3ROMkkxT0MwMFlqUXdMV0ZtTmpFdE5qbGxZVFV3WWpBMVltSTMifQ&page%5Blimit%5D=2"}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-10-21T09:09:41.747Z
2024-11-25T20:08:40.877Z
Loading

0 comments on commit 07655b1

Please sign in to comment.