File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,11 @@ jobs:
20
20
uses : actions/checkout@v4
21
21
with :
22
22
fetch-depth : 2
23
- ref : ${{ github.event.pull_request.head.ref }}
23
+ repository : ${{ github.event.pull_request.head.repo.full_name }}
24
24
- name : Verify Python Tools Changed
25
25
uses : tj-actions/changed-files@v41
26
26
id : verify-changed-files
27
27
with :
28
- fetch_depth : ' 2'
29
28
since_last_remote_commit : ' true'
30
29
files : |
31
30
tools/get.py
72
71
DISTPATH : pytools-${{ matrix.TARGET }}
73
72
PIP_EXTRA_INDEX_URL : " https://dl.espressif.com/pypi"
74
73
steps :
74
+ - id : create_token
75
+ uses : tibdex/github-app-token@v2
76
+ with :
77
+ app_id : ${{ secrets.TOOLS_UPLOAD_APP_ID }}
78
+ private_key : ${{ secrets.TOOLS_UPLOAD_APP_TOKEN }}
79
+
75
80
- name : List changed tools
76
81
shell : bash
77
82
run : |
89
94
- name : Checkout repository
90
95
uses : actions/checkout@v4
91
96
with :
92
- token : ${{ secrets.TOOLS_UPLOAD_PAT }}
93
- ref : ${{ github.event.pull_request.head.ref }}
97
+ token : ${{ steps.create_token.outputs.token }}
94
98
- name : Set up Python 3.8
95
99
# Skip setting python on ARM because of missing compatibility: https://github.com/actions/setup-python/issues/108
96
100
if : matrix.os != 'ARM' && matrix.os != 'ARM64'
You can’t perform that action at this time.
0 commit comments