Skip to content

Commit

Permalink
Merge pull request dapr#8423 from artursouza/notify_longhaul_workflow
Browse files Browse the repository at this point in the history
Workflow to dispatch longhaul version update.
  • Loading branch information
JoshVanL authored Jan 30, 2025
2 parents ab312b2 + 51bd90e commit 2af8dc2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/dapr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -738,3 +738,19 @@ jobs:
echo "::error::There is no change for ${daprVersion} Helm chart. Did you forget to update the chart version before tagging?"
exit -1
fi
update-longhauls:
name: Update the dapr version in longhaul tests
needs: helmpublish
runs-on: ubuntu-latest
permissions: {}
if: startswith(github.ref, 'refs/tags/v') && github.repository_owner == 'dapr'
env:
GITHUB_TOKEN: ${{ secrets.DAPR_BOT_TOKEN }}
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Parse release version and set REL_VERSION and LATEST_RELEASE
run: python ./.github/scripts/get_release_version.py ${{ github.event_name }}
- name: Trigger GitHub workflow
run: gh api repos/dapr/test-infra/actions/workflows/version-update.yml/dispatches \
-X POST -f ref="master" -f inputs[rel_version]="${{ env.REL_VERSION }}"

0 comments on commit 2af8dc2

Please sign in to comment.