@@ -57,31 +57,22 @@ jobs:
57
57
# fetch all history so that setuptools-scm works
58
58
fetch-depth : 0
59
59
60
- # Generate token from GenericMappingTools bot
61
- - name : Generate token from GenericMappingTools bot
62
- uses : tibdex/github-app-token@v2
63
- if : github.event_name == 'repository_dispatch'
64
- id : generate-token
65
- with :
66
- app_id : ${{ secrets.APP_ID }}
67
- private_key : ${{ secrets.APP_PRIVATE_KEY }}
68
-
69
60
# Checkout the pull request branch
70
61
- name : Checkout
71
62
72
63
if : github.event_name == 'repository_dispatch'
73
64
with :
74
- token : ${{ steps.generate-token.outputs.token }}
65
+ token : ${{ secrets.GITHUB_TOKEN }}
75
66
repository : ${{ github.event.client_payload.pull_request.head.repo.full_name }}
76
67
ref : ${{ github.event.client_payload.pull_request.head.ref }}
77
68
# fetch all history so that setuptools-scm works
78
69
fetch-depth : 0
79
70
80
71
- name : Show job URL
81
72
uses :
peter-evans/[email protected]
82
- if : github.event_name == 'repository_dispatch' && (matrix .os == 'ubuntu-latest')
73
+ if : github.event_name == 'repository_dispatch' && runner .os == 'Linux'
83
74
with :
84
- token : ${{ steps.generate-token.outputs.token }}
75
+ token : ${{ secrets.GITHUB_TOKEN }}
85
76
repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
86
77
comment-id : ${{ github.event.client_payload.github.payload.comment.id }}
87
78
body : https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
0 commit comments