Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two tasks created - one on "push" that fails, another on pull_request that works #42

Open
trainoasis opened this issue Oct 28, 2022 · 3 comments

Comments

@trainoasis
Copy link

trainoasis commented Oct 28, 2022

I see there's two tasks created for some reason and they are not synced (one fails, one does not), wanted to make sure what I'm doing wrong?

Screen Shot 2022-10-28 at 12 59 32

The only thing I added was a new workflow on pull_request only:

name: "PR Tasks Completed Check"
on:
  pull_request:
    types: [opened, edited, reopened]

jobs:
  task-check:
    runs-on: ubuntu-latest
    steps:
      - uses: kentaro-m/[email protected]
        with:
          repo-token: "${{ secrets.GITHUB_TOKEN }}"

Are there too many types defined or something? For example I added "reopened" there also.

I'm mainly wondering why my task is seen on the list, but then there's also a task attached to "Main/" - where does this come from? "Main" is another workflow that we have set-up, but why would Task Checker attach itself to it like this and why do the results of the two tasks differ?

Any help appreciated.

@trainoasis trainoasis changed the title Two tasks created - one fails, another doesnt ? Two tasks created - one on "push" that fails, another on pull_request that works Nov 4, 2022
@trainoasis
Copy link
Author

@kentaro-m I'm happy to make a PR for this if it's an unexpected behavior. If not, I'd be happy to know why this happens. Thanks!

@anthonyalayo
Copy link

Unfortunately hitting the same issue :/ a single check would be great

@enterprisey
Copy link

I believe this issue is fixed in the fork https://github.com/chromaui/task-completed-checker-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants