Skip to content

Commit

Permalink
Merge pull request #235 from dominant-strategies/use-token-for-pr
Browse files Browse the repository at this point in the history
use token for quais-docs pr
  • Loading branch information
robertlincecum authored Jun 27, 2024
2 parents b656bf3 + 1dd05bf commit 1c8f77b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Get Version
run: |
VERSION=$(jq -r '.version' package.json)
echo "VERSION=$(echo $VERSION | sed 's/\.[0-9]*$//')" >> $GITHUB_ENV
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Store version in branch variable
id: set-branch
run: echo "branch=${{ env.VERSION }}" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Create Pull Request
run: |
PR_BRANCH=${{ needs.get-branch.outputs.branch }}
curl -u ci-dominantstrategies:${{ secrets.GH_PAT }} \
curl -u github-actions:${{ secrets.GITHUB_TOKEN }} \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/dominant-strategies/quais-docs/pulls \
Expand Down

0 comments on commit 1c8f77b

Please sign in to comment.