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

Push event workflow triggers when PR raised by this sync action #63

Open
krishnadubeyQ opened this issue Jan 12, 2022 · 1 comment
Open

Comments

@krishnadubeyQ
Copy link

  • We have 2 branches (say dev and master) in the main repository along with developers working on forked repository.
  • We have several workflows that triggers on different events like pull_request (for testing, linting, etc) on master and dev branch, push(when PR is merged) on dev or on tags(for release).
  • All the workflows are running as expected. Like when PR is raised from forked branch to dev, when release is created with the required pattern of tag.
  • We also have a scheduled workflow for sync between dev and master. This workflow uses TreTuna action for syncing master branch with dev on a given schedule.
  • **The action is raising PR properly but all the workflows with push event are triggered instead of those with pull_request. Infact workflow with push on tag is also getting triggered(which is used only for release).
  • Expected behaviour is that only workflows that have trigger on pull_request to master branch should run**.

Also following warning in logs pops up when the TreTuna action runs [just for info]:
(node:1826) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

@saroj-mhj
Copy link

Any update on this? Having the same problem

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

2 participants