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

chore: use workflow from the scripts repository #209

Merged
merged 2 commits into from
Jun 21, 2023

Conversation

Panquesito7
Copy link
Member

Things added/changed:

  • Use workflow from the scripts repository.

Copy link
Contributor

@vzvu3k6k vzvu3k6k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Panquesito7 Thank you!

I've confirmed that the action is working fine already in TheAlgorithms/C-Plus-Plus, and also confirmed that python build_directory_md.py Ruby . .rb generates a valid DIRECTORY.md.

I think it's almost fine, but I think there is a need to fix on.push.branches. Can you please check the comment?

.github/workflows/update_directory_md.yml Outdated Show resolved Hide resolved
Co-authored-by: vzvu3k6k <vzvu3k6k@gmail.com>
Copy link
Contributor

@vzvu3k6k vzvu3k6k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@vzvu3k6k vzvu3k6k merged commit 275bed9 into TheAlgorithms:master Jun 21, 2023
1 check passed
vzvu3k6k added a commit that referenced this pull request Jun 21, 2023
…workflow"

This reverts commit 275bed9, reversing
changes made to 14149d1.

This action failed for some reason.
https://github.com/TheAlgorithms/Ruby/actions/runs/5337370931/jobs/9673337632

I'll revert this merge commit teporarily until it is fixed.
vzvu3k6k added a commit that referenced this pull request Jun 21, 2023
…workflow"

This reverts commit 275bed9, reversing
changes made to 14149d1.

This action failed for some reason.
https://github.com/TheAlgorithms/Ruby/actions/runs/5337370931/jobs/9673337632

I'll revert this merge commit temporarily until it is fixed.
vzvu3k6k added a commit that referenced this pull request Jun 21, 2023
Temporarily revert new update_directory_md workflow (#209)
@vzvu3k6k
Copy link
Contributor

@Panquesito7 It seems I missed something during the review...

The action failed after the merge (log). So this PR has been temporarily reverted by #211.

I would appreciate it if you could submit a pull request with the bug fixed. I will investigate when I have time as well.

(By the way, I checked the TheAlgorithms/C-Plus-Plus repository again, and it appears that this action is not actually executed, because the branch name of the action on.push.branches and the default branch are different.)

@Panquesito7 Panquesito7 deleted the scripts_workflow branch June 23, 2023 18:00
@Panquesito7
Copy link
Member Author

Thanks for spotting that out! Weird that happened 👀 I believe the issue should be made in the scripts repository.
Would you like to report it or should I do it myself? Thanks. 🙂

@vzvu3k6k
Copy link
Contributor

@Panquesito7 Thanks for the confirmation! I have reported it in TheAlgorithms/scripts#27.

For the TheAlgorithms/C-Plus-Plus, I'm not sure whether to report the issue in an existing issue or create a new one. I'll leave the decision up to you.

Anyway I think this workflow would be very useful if it works. Thank you for trying to develop it 👍

with:
fetch-depth: 0
- name: Build directory
uses: TheAlgorithms/scripts/directory_md@main
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey 👋🏼 could one of you create a branch which uses the patch I made in this PR.

Just change the above line to something like this and it should hopefully work - if it doesn't, ping me directly please and I can take a look at the action log

Suggested change
uses: TheAlgorithms/scripts/directory_md@main
uses: TheAlgorithms/scripts/directory_md@e24e3ba9cf7e90c91ac87f953593426328b86563

If it works then I can merge my fix and then you won't have to merge this suggested change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants