Skip to content

PR workflow runs twice #289

Description

@samhill303

Before you start

  • I searched the existing issues (including closed ones) and didn't find this one.
  • I'm using a currently released version of this project.

Summary

Because it has both the pull_request and push triggers.

Steps to reproduce

Submit a PR and trigger workflow

Expected result

Single build and test run for each PR commit. Another one after merging to main

Actual result

Double runs for every PR commit

Affected platforms

  • Android
  • iOS
  • macOS
  • watchOS / tvOS
  • JVM
  • JS / Wasm
  • Linux / Windows (native)
  • Not platform specific
  • Build / Gradle plugin only

Version

1.2.1

Environment

No response

Logs, stack traces, or build output


Possible cause or fix

No response

Screenshots or anything else

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions