File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed
Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change 3030 owner : ${{ github.repository_owner }}
3131 repositories : api-go # generate a token with permissions to trigger GHA in api-go repo
3232
33- - name : Prepare inputs
34- id : prepare_inputs
33+ - name : Dispatch api-go Github Action
3534 env :
35+ GH_TOKEN : ${{ steps.generate_token.outputs.token }}
3636 EVENT_PUSH_BRANCH : ${{ github.event.ref }}
3737 EVENT_PUSH_COMMIT_AUTHOR : ${{ github.event.head_commit.author.name }}
3838 EVENT_PUSH_COMMIT_AUTHOR_EMAIL : ${{ github.event.head_commit.author.email }}
5555 ;;
5656 esac
5757
58- echo "BRANCH=${BRANCH}" >> $GITHUB_OUTPUT
59- echo "COMMIT_AUTHOR=${COMMIT_AUTHOR}" >> $GITHUB_OUTPUT
60- echo "COMMIT_AUTHOR_EMAIL=${COMMIT_AUTHOR_EMAIL}" >> $GITHUB_OUTPUT
61- echo "COMMIT_MESSAGE=${COMMIT_MESSAGE}" >> $GITHUB_OUTPUT
62-
63- - name : Dispatch api-go Github Action
64- env :
65- GH_TOKEN : ${{ steps.generate_token.outputs.token }}
66- BRANCH : ${{ steps.prepare_inputs.outputs.BRANCH }}
67- COMMIT_AUTHOR : ${{ steps.prepare_inputs.outputs.COMMIT_AUTHOR }}
68- COMMIT_AUTHOR_EMAIL : ${{ steps.prepare_inputs.outputs.COMMIT_AUTHOR_EMAIL }}
69- COMMIT_MESSAGE : ${{ steps.prepare_inputs.outputs.COMMIT_MESSAGE }}
70- run : |
7158 gh workflow run update-proto.yml -R https://github.com/temporalio/api-go \
7259 -r master \
7360 -f branch="${BRANCH}" \
You can’t perform that action at this time.
0 commit comments