Skip to content

Commit

Permalink
more CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dani-Koza-AF committed Oct 27, 2024
1 parent 470672d commit c709069
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: mdecoleman/[email protected]
id: vars
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.CI_DEV_GITHUB_TOKEN }}
- name: Update package.json file
run: |
plugin_version=$(echo "${{ steps.vars.outputs.branch }}" | grep -Eo '[0-9]+.[0-9]+.[0-9]+')
Expand Down Expand Up @@ -67,13 +67,13 @@ jobs:
- uses: mdecoleman/[email protected]
id: vars
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.CI_DEV_GITHUB_TOKEN }}
- name: Export branch name
run: |
echo "RELEASE_BRANCH_NAME=${{ steps.vars.outputs.branch }}" >> $GITHUB_ENV
- name: approve pull request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CI_DEV_GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: | # approve the pull request of the current branch
gh pr review "$PR_NUMBER" --approve

0 comments on commit c709069

Please sign in to comment.