Skip to content

Commit

Permalink
Update obidog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sygmei committed May 10, 2023
1 parent 679fe6e commit d9abd5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/obidog.yml
Expand Up @@ -38,9 +38,9 @@ jobs:

- name: Configure commit owner
run: |
export ci_user_infos=$(curl -s https://${{ inputs.pat }}:@api.github.com/user)
export ci_pat_user=$($ci_user_infos | jq -r .name)
export ci_pat_id=$($ci_user_infos | jq -r .id)
export ci_user_infos=$(curl -s https://${{ secrets.GHCR_TOKEN }}:@api.github.com/user)
export ci_pat_user=$(echo $ci_user_infos | jq -r .name)
export ci_pat_id=$(echo $ci_user_infos | jq -r .id)
git config --global user.email "$ci_pat_id+$ci_pat_user@users.noreply.github.com"
git config --global user.name "$ci_pat_user"
shell: bash
Expand Down

0 comments on commit d9abd5c

Please sign in to comment.