For some reason, issues are created twice?
See original GitHub issueThis is my current workflow.
Thanks!
# This is a basic workflow to help you get started with Actions
name: TODO's to issues
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request:
branches: [ master, staging ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@master"
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@master"
with:
REPO: ${{ github.repository }}
BEFORE: ${{ github.event.before }}
SHA: ${{ github.sha }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL: "@todo"
COMMENT_MARKER: "@"
id: "todo"
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
All things are created twice. What if the first creation is not yours?
Some people are happy to go through life NOT setting goals. ... Stephen Covey says that all things are created twice.
Read more >Widget get built twice · Issue #33566 · flutter/flutter - GitHub
I came across follow issue when debugging my flutter app. Build method called twice. import 'dart:math'; import 'package:flutter/material.dart'; ...
Read more >Everything Is Created Twice: From Business Ideas to Products ...
“We have no science for why your one kidney that was 50% destroyed is operating as a fully functioning kidney now. Whatever you've...
Read more >pipeline trigger twice when push to remote - GitLab.org
Sometimes one pipeline is started (expected) and sometimes 2 pipelines. In some cases the trigger source is push , but for no logical...
Read more >Solve Every Problem Twice - Jonathan Hall
One habit that I think every software developer, if not practically every professional in any field, can benefit from is that of solving...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@alstr I saw similar behavior today. Here’s some links to check it out:
[push]
It’s possible it is picking it up the merge to master as a second commit, but I thought it was supposed to ignore it since there was already an issue opened for that comment.
It also didn’t close the issue when I removed the comment 😢
Great, thanks for the context! Attaching some logs, but not sure if they’re very relevant. Let me know if you need something specific.
logs_2363.zip logs_2358.zip
Also, I thought if we run the action on every push on staging/master, issues won’t be created again if they already exist? I could try using on: release for every time we create a new one, but if we haven’t tackled the TODO and deleted the comment it will be fired again?
Sorry, this was just a comment left behind 😃