Skip to content

Commit

Permalink
Fix dispatch (#124)
Browse files Browse the repository at this point in the history
* send the tag name as client payload

* use the tag name passed as the env variable
  • Loading branch information
jazzsequence authored Jun 24, 2024
1 parent 977d4ef commit f0ea972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
php-version: '7.4'
- name: Get tag name
id: tag_name
run: echo "tag_name=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
run: echo "tag_name=${{ github.event.client_payload.tag_name }}" >> $GITHUB_ENV
- name: Build phar
run: |
composer install
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ jobs:
token: ${{ secrets.PANTHEON_UPSTREAM_AUTH_TOKEN }}
repository: pantheon-systems/update-tool
event-type: tests-passed
client-payload: '{"tag_name": "${{ github.ref_name }}"}'

0 comments on commit f0ea972

Please sign in to comment.