Skip to content

Commit

Permalink
Merge pull request #183 from dolthub/coffeegoddd-patch-1
Browse files Browse the repository at this point in the history
use personal token so release pr runs CI
  • Loading branch information
coffeegoddd authored Apr 19, 2024
2 parents ac0cfbd + 1b067ae commit 953e9b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN || secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
- name: Update Doltgres version command
run: sed -i -e 's/ Version = ".*"/ Version = "'"$NEW_VERSION"'"/' "$FILE"
env:
Expand All @@ -46,11 +48,11 @@ jobs:
- name: Create Pull Request
run: gh pr create --base main --head "cd-release" --title "Release v${{ needs.format-version.outputs.version }}" --body "Created by the Release workflow to update DoltgreSQL's version"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN || secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
- name: Enable Pull Request Auto-Merge
run: gh pr merge --merge --auto "cd-release"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN || secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
- name: Install Go
uses: actions/setup-go@v5
with:
Expand Down

0 comments on commit 953e9b1

Please sign in to comment.