Skip to content

Commit ac02939

Browse files
Merge pull request #2746 from DataDog/aleksandr-gringauz/RUM-10224/use-octo-sts-to-do-pr-in-gradle-plugin
RUM-10224: Use octo-sts to create pr in dd-sdk-android-gradle-plugin
2 parents 02249ad + b9571aa commit ac02939

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ci/pipelines/default-pipeline.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,10 +981,13 @@ notify:dogfood-gradle-plugin:
981981
only:
982982
- tags
983983
image: $CI_IMAGE_DOCKER
984+
id_tokens:
985+
DDOCTOSTS_ID_TOKEN:
986+
aud: dd-octo-sts
984987
stage: notify
985988
when: on_success
986989
script:
987-
- !reference [ .common-snippets, set-github-installation-token ]
990+
- export GITHUB_TOKEN=$(dd-octo-sts token --scope DataDog/dd-sdk-android-gradle-plugin --policy all.gitlab.pr)
988991
- pip3 install GitPython requests
989992
- python3 ./ci/scripts/dogfood.py -v $CI_COMMIT_TAG -t gradle-plugin
990993

0 commit comments

Comments
 (0)