You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As this workflow can potentially overwrite the same actions if two workflows are running, i.e. push and tag. a check needs to be done to find the first workflow so that no additional rebuilding is done.
The check should cause the newest workflow to pause if the commit is the same and to wait for the first one to complete.
Details
A query to the API could be done and if the branch is regex match a tag and the current running job is on the same commit, then stop. this will then prevent an overwrite of build items that are not tagged.
So that the status of the branch job is not that of "reported" true/false. wait for the tagged job to finish and report it's status as the the same as the tagged job's run status.
As this workflow can potentially overwrite the same actions if two workflows are running, i.e. push and tag. a check needs to be done to find the first workflow so that no additional rebuilding is done.
The check should cause the newest workflow to pause if the commit is the same and to wait for the first one to complete.
Details
A query to the API could be done and if the branch is regex match a
tag
and the current running job is on the same commit, then stop. this will then prevent an overwrite of build items that are not tagged.So that the status of the branch job is not that of "reported" true/false. wait for the tagged job to finish and report it's status as the the same as the tagged job's run status.
Workflow
Wait
x
period of timequery endpoint using commit sha
https://api.github.com/repos/nofusscomputing/centurion_erp/actions/runs?head_sha=9d5464b5a989f5095a099fcb081a9422b576cefa
workflow found with same commit and workflow job
CI
current workflow not
git tag
Found workflow that is git tag
post markdown status to workflow pointing to tagged branch
action: dtinth/markdown-report-action
stop workflow from continuing
Current workflow is
git tag
Links
The text was updated successfully, but these errors were encountered: