Use github event in github action
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 22 Oct 2022 10:56:43 +0000 (12:56 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 22 Oct 2022 10:56:43 +0000 (12:56 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/generate-typedoc.yml

index 7e7af20e2cf6f03c72791cb0f9ef9be8fe065229..93d5c23b210e5b67988445b8ae76f070c948dc17 100644 (file)
@@ -36,4 +36,4 @@ jobs:
         uses: ad-m/github-push-action@master
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
-          branch: master
+          branch: ${{ github.event.repository.default_branch }}