File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2626
2727 # if update is coming from octokit/openapi, use the version from event
2828 - run : npm run update-endpoints
29- if : github.event_name == 'repository_dispatch' && github.event.event_type == 'octokit/openapi release'
29+ if : github.event_name == 'repository_dispatch' && github.event.action == 'octokit/openapi release'
3030 env :
3131 VERSION : ${{ github.event.client_payload.release.tag_name }}
3232
@@ -38,12 +38,12 @@ jobs:
3838
3939 # if event is coming from octokit/types.ts, update @octokit/types to latest version and get OpenAPI version from its package.json
4040 - run : npm install @octokit/types@latest
41- if : github.event_name == 'repository_dispatch' && github.event.event_type == 'octokit/types.ts release'
41+ if : github.event_name == 'repository_dispatch' && github.event.action == 'octokit/types.ts release'
4242 - run : node -e "console.log('::set-output name=version::' + require('@octokit/types/package').octokit['openapi-version'])"
43- if : github.event_name == 'repository_dispatch' && github.event.event_type == 'octokit/types.ts release'
43+ if : github.event_name == 'repository_dispatch' && github.event.action == 'octokit/types.ts release'
4444 id : openapi_types
4545 - run : npm run update-endpoints
46- if : github.event_name == 'repository_dispatch' && github.event.event_type == 'octokit/types.ts release'
46+ if : github.event_name == 'repository_dispatch' && github.event.action == 'octokit/types.ts release'
4747 env :
4848 VERSION : ${{ steps.openapi_types.outputs.version }}
4949
You can’t perform that action at this time.
0 commit comments