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

Disable slashcommand and flake requirements #151

Merged
merged 3 commits into from
Dec 6, 2022

Conversation

bernt-matthias
Copy link
Contributor

Currently the slash workflow (which reacts on all comments and looks for /run-all-tool-tests) always fails because the PAT is not defined. Guess it would be cool to run this only if PAT is defined (not sure if it will work the way I implemented it).

Also introduces .flake8_requirement file as discussed. If useful and working then we can add it to IUC.

@peterjc
Copy link
Owner

peterjc commented Dec 6, 2022

Is PAT different from the GitHub Secrets for the (test) tool shed API tokens?

If we're only missing tool shed tokens, I would have expected the lint and tests to still be run.

--

The flake8 changes look good as a proof of principle implementation for galaxyproject/tools-iuc#4988 (other than a trailing white space in the YAML, and missing final new line in the requirements file)

@bernt-matthias
Copy link
Contributor Author

This is only used in the slash worklflow .. it would need to be a PAT https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

see also https://github.com/peter-evans/slash-command-dispatch#token

But you don't need this (except if you want to trigger the test of all tools out of schedule)

@peterjc peterjc merged commit 47a3220 into peterjc:master Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants