Skip to content

Commit 4c76d51

Browse files
committed
Test
1 parent 337bdba commit 4c76d51

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci-rest.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ on:
1616

1717
jobs:
1818
rest-ci:
19-
runs-on: tiledb
19+
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
2022

2123
steps:
2224
# For easy access to lookup dispatched CI job.
@@ -27,16 +29,12 @@ jobs:
2729
- name: Workflow dispatch to REST CI
2830
id: trigger-step
2931
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
3432
with:
3533
repo: TileDB-Inc/TileDB-Internal
3634
# Trigger workflow on TileDB-Internal at this ref.
3735
ref: "smr/sc-64563/test-tiledb-server"
3836
workflow: rest-ci.yml
39-
token: ${{ env.TILEDB_REST_CI_TOKEN }}
37+
token: ${{ secrets.GITHUB_TOKEN }}
4038
# Pass TileDB core ref to test against REST.
4139
# github.head_ref will only be set for PRs, so fallback to github.ref_name if triggered via push event.
4240
inputs: '{ "tiledb_ref": "${{ github.event.inputs.ref || github.head_ref || github.ref_name }}"}'

0 commit comments

Comments
 (0)