-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4dee350
commit 78f591c
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,12 +37,22 @@ permissions: | |
|
||
env: | ||
GITHUB_USER: "datavisyn-bot" | ||
GITHUB_TOKEN: ${{ secrets.DATAVISYN_BOT_REPO_TOKEN }} | ||
GITHUB_TOKEN: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }} | ||
|
||
jobs: | ||
post_release: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Git config | ||
run: | | ||
if [ -f ~/.gitconfig ]; then | ||
rm ~/.gitconfig | ||
touch ~/.gitconfig | ||
fi | ||
git config --global --replace-all url."https://[email protected]/".insteadOf ssh://[email protected]/ | ||
git config --add --global url."https://$GITHUB_TOKEN@github".insteadOf https://github | ||
git config --add --global url."https://[email protected]/".insteadOf [email protected]: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
|