File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 16
16
17
17
jobs :
18
18
rest-ci :
19
- runs-on : tiledb
19
+ runs-on : ubuntu-latest
20
+ permissions :
21
+ contents : read
20
22
21
23
steps :
22
24
# For easy access to lookup dispatched CI job.
@@ -27,16 +29,12 @@ jobs:
27
29
- name : Workflow dispatch to REST CI
28
30
id : trigger-step
29
31
uses : aurelien-baudet/workflow-dispatch@v2
30
- env :
31
- TILEDB_REST_CI_TOKEN : ${{ secrets.GH_TOKEN }}
32
- # Skip if no PAT is set (e.g. for PRs from forks).
33
- if : env.TILEDB_REST_CI_TOKEN != null
34
32
with :
35
33
repo : TileDB-Inc/TileDB-Internal
36
34
# Trigger workflow on TileDB-Internal at this ref.
37
35
ref : " smr/sc-64563/test-tiledb-server"
38
36
workflow : rest-ci.yml
39
- token : ${{ env.TILEDB_REST_CI_TOKEN }}
37
+ token : ${{ secrets.GITHUB_TOKEN }}
40
38
# Pass TileDB core ref to test against REST.
41
39
# github.head_ref will only be set for PRs, so fallback to github.ref_name if triggered via push event.
42
40
inputs : ' { "tiledb_ref": "${{ github.event.inputs.ref || github.head_ref || github.ref_name }}"}'
You can’t perform that action at this time.
0 commit comments