Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ on:
jobs:
start-aws-runner:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'safe to test')
if: |
(github.event_name == 'push') ||
(github.event_name == 'workflow_dispatch') ||
(github.event_name == 'pull_request_target' &&
github.event.action == 'labeled' &&
github.event.label.name == 'safe-to-test')
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -39,6 +44,10 @@ jobs:
- start-aws-runner
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.event_name == 'pull_request_target' &&
format('refs/pull/{0}/merge', github.event.pull_request.number) ||
github.ref }}

- name: Log in to Docker Hub
uses: docker/login-action@v3.6.0
Expand Down
Loading