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

GitHub Actions runs workflow twice for a template repository #2550

Closed
hsz opened this issue Apr 17, 2023 · 4 comments
Closed

GitHub Actions runs workflow twice for a template repository #2550

hsz opened this issue Apr 17, 2023 · 4 comments
Labels
bug Something isn't working Stale

Comments

@hsz
Copy link

hsz commented Apr 17, 2023

Describe the bug
When one creates a new project based on a template repository which contains a workflow that listens for the push event, the workflow runs twice.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://github.com/hsz/github-actions-runs-workflow-twice-for-template-repository
  2. Click the "Use this template" button to create a new project out of this template repository
  3. Navigate to Actions tab of your new project
  4. See a dummy workflow defined in .github/workflows/hello.yml run twice

Expected behavior
Run such a workflow once, as before.

@meiMingle
Copy link

@TingluoHuang Sir, please take a look at this error if you have time. Redundant workflow runs lead to waste of github resources, which is serious.

@skofsxm
Copy link

skofsxm commented Sep 14, 2023

Is this issue resolved? I too face an issue that action is triggered twice.
Appreciate your response.

Copy link
Contributor

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days.

@github-actions github-actions bot added the Stale label Sep 16, 2024
@hsz
Copy link
Author

hsz commented Sep 16, 2024

The issue seems to be obsolete now.

@hsz hsz closed this as completed Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

3 participants