Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
- release-*
pull_request:
workflow_dispatch:
release:
types:
- created
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:
jobs:
update-version:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
actions: write
steps:
- name: Checkout code
uses: actions/checkout@v7.0.1
Expand Down Expand Up @@ -102,6 +106,7 @@ jobs:
rm -f current_version.txt

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v8.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -114,3 +119,9 @@ jobs:
Auto-generated by GitHub Actions.
draft: false
delete-branch: true

- name: Run tests on the pull request
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
env:
GH_TOKEN: ${{ github.token }}
run: gh workflow run test-deploy.yml --repo "$GITHUB_REPOSITORY" --ref "${{ steps.cpr.outputs.pull-request-branch }}"
Loading