We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 718f961 commit c0186adCopy full SHA for c0186ad
1 file changed
.github/workflows/e2e.yml
@@ -15,14 +15,11 @@ jobs:
15
e2e:
16
runs-on: ubuntu-latest
17
# Only run on workflow_dispatch (manual trigger), but always register check on PRs
18
- if: github.event_name == 'workflow_dispatch'
+ if: github.event_name == 'workflow_dispatch' || github.ref_name == 'main'
19
20
steps:
21
- name: Checkout code
22
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
23
- with:
24
- # When triggered by comment, checkout the PR branch
25
- ref: ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || github.ref }}
26
27
- name: Set up Docker Buildx
28
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435
0 commit comments