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

Queueing system will post the same tweet post if user doesn't rename the file after posting #8

Open
reidjs opened this issue Aug 8, 2021 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@reidjs
Copy link
Owner

reidjs commented Aug 8, 2021

Queueing system shouldn't be used until this is fixed (Post by date should be unaffected)

The github action doesn't rename the file in the repo, so it will just post the highest priority tweet every day (q-1).

After posting a queued tweet, we have to automatically:

  1. rename the file to something that doesn't start with q-, ideally the name should be updated to the date it was posted
  2. commit the name change and,
  3. push the updated file to the repo.

Otherwise, at the next run it will attempt to tweet the same thing again.

@reidjs reidjs added the bug Something isn't working label Aug 8, 2021
@reidjs reidjs self-assigned this Aug 8, 2021
@reidjs reidjs added this to Todo in tweet scheduler Aug 8, 2021
@reidjs
Copy link
Owner Author

reidjs commented Aug 10, 2021

@reidjs
Copy link
Owner Author

reidjs commented Aug 10, 2021

In order for that to work, we will need to split the tweet by queue out from the split by date code

@reidjs reidjs added the enhancement New feature or request label Aug 13, 2021
@reidjs
Copy link
Owner Author

reidjs commented Aug 13, 2021

If a queued tweet is posted, the workflow needs to do rename the queued file to the correct date convention using the git auto commit action

@reidjs reidjs moved this from Todo to Cancelled in tweet scheduler Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant