Skip to content
Discussion options

You must be logged in to vote

@Rod-at-DOH I don't think this is being caused by the fact that you have 3 environments

What I think is happening is that your workflow is subscribed to the release event too broadly:

on:
  release:
  workflow_dispatch:

When release is configured that way, GitHub Actions listens to all release activity types by default, not just the final "publish" moment. According to the GitHub Actions docs, the release event can fire for published, unpublished, created, edited, deleted, prereleased, and released. The workflow syntax docs also say that if multiple triggering activity types happen as part of the same action, GitHub can create multiple workflow runs.

So the most likely explanation is that…

Replies: 3 comments 6 replies

This comment was marked as spam.

@hajimohammadsamirazizi-lab

This comment was marked as spam.

Comment options

You must be logged in to vote
3 replies
@Rod-at-DOH
Comment options

@Rod-at-DOH
Comment options

@AnkanMisra
Comment options

Answer selected by Rod-at-DOH
Comment options

You must be logged in to vote
2 replies
@Rod-at-DOH
Comment options

@Rod-at-DOH
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage Workflow Configuration Topics about workflow files, YAML setup, job dependencies, and general workflow configuration issues source:ui Discussions created via Community GitHub templates
4 participants