Skip to content

Commit

Permalink
Add token when cloning (#14)
Browse files Browse the repository at this point in the history
AB#10365
  • Loading branch information
eccles authored Jan 28, 2025
1 parent 002fe9b commit 98f94c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
env:
TAG: ${{ inputs.tag }}

# Specify pat token here uses that identity to push changes and skip
# branch protections
- uses: actions/checkout@v4
with:
path: repo
Expand Down Expand Up @@ -84,9 +86,7 @@ jobs:
# go-datatrails-common-api-gen tags in sync so we sometimes have empty releases
exit 0
fi
git config --global url.'https://${{ secrets.GO_COMMON_API_GEN_TOKEN}}@github.com/datatrails'.insteadOf https://github.com/datatrails
go env -w GOPRIVATE="github.com/datatrails/*"
git config --global user.name 'landintrees'
git config --global user.name 'CI Workflow'
git config --global user.email $COMMIT_EMAIL
git add .
git commit -am "feat: updated to go-datatrails-common-api@$TAG"
Expand Down

0 comments on commit 98f94c6

Please sign in to comment.