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