Upgrade dispatch-workflow action (#4495)

Summary:
It's currently failing and a few according to [the docs](https://github.com/benc-uk/workflow-dispatch) the token we supply shouldn't be necessary.

Pull Request resolved: https://github.com/facebook/flipper/pull/4495

Test Plan:
Sadly only one way:

testinprod

Reviewed By: lblasa

Differential Revision: D42989714

Pulled By: passy

fbshipit-source-id: e758340a583e351ff4e384514b70fecdf8bb3129
This commit is contained in:
Pascal Hartig
2023-02-03 03:16:24 -08:00
committed by Facebook GitHub Bot
parent e2867a74a7
commit 918ae58c2a

View File

@@ -242,23 +242,20 @@ jobs:
steps: steps:
- name: Publish Workflow Dispatch - name: Publish Workflow Dispatch
if: ${{ needs.release.outputs.tag != '' }} if: ${{ needs.release.outputs.tag != '' }}
uses: benc-uk/workflow-dispatch@v1.1 uses: benc-uk/workflow-dispatch@v1.2.2
with: with:
workflow: Publish Pods workflow: Publish Pods
token: ${{ secrets.PERSONAL_TOKEN }}
ref: ${{ needs.release.outputs.tag }} ref: ${{ needs.release.outputs.tag }}
- name: Publish NPM - name: Publish NPM
if: ${{ needs.release.outputs.tag != '' }} if: ${{ needs.release.outputs.tag != '' }}
uses: benc-uk/workflow-dispatch@v1.1 uses: benc-uk/workflow-dispatch@v1.2.2
with: with:
workflow: Publish NPM workflow: Publish NPM
token: ${{ secrets.PERSONAL_TOKEN }}
ref: ${{ needs.release.outputs.tag }} ref: ${{ needs.release.outputs.tag }}
- name: Publish Android - name: Publish Android
if: ${{ needs.release.outputs.tag != '' }} if: ${{ needs.release.outputs.tag != '' }}
uses: benc-uk/workflow-dispatch@v1.1 uses: benc-uk/workflow-dispatch@v1.2.2
with: with:
workflow: Publish Android workflow: Publish Android
token: ${{ secrets.PERSONAL_TOKEN }}
ref: ${{ needs.release.outputs.tag }} ref: ${{ needs.release.outputs.tag }}
inputs: '{"tag": "${{ needs.release.outputs.tag }}"}' inputs: '{"tag": "${{ needs.release.outputs.tag }}"}'