Comments (1)
Would something like this work:
If owner OR comment = “/ok-to-test”
.> ..tests?
Good question @hamelsmu – yes! I was envisioning more slash commands like deploy
being parsed in a separate workflow (now called ok-to-test.yml
). It's a tradeoff of complexity, which is now hidden behind the helper action(s) in ok-to-test.yml
.
peter-evans/slash-command-dispatch
takes care of a few other things that I'd want to see in a test-centric solution, like reacting back on the comment, ensuring the permission level of the commenter, restricting the issue type, and grabbing the pull request number that the test workflow can use.
Maybe we should make this into a stop/go action that takes an issue_comment
, decides if it's a valid comment from a permissioned author, and proceeds. 🤔This part to update the PR check could also be a separate action:
ok-to-test/.github/workflows/integration.yml
Lines 40 to 71 in 02903c4
from ok-to-test.
Related Issues (12)
- Bug: grab sha sooner or as argument
- Example integration HOT 8
- Using personal access token HOT 4
- Using Oauth App Token HOT 3
- Having difficulty knowing how to set up the GitHub App HOT 2
- Explain actions/checkout for forked PRs vs normal PRs HOT 3
- Unhandled error: TypeError: Cannot read property 'get' of undefined HOT 4
- Dispatched actions don't associate with PR checks HOT 6
- See explicit logs in original workflow run HOT 7
- Is the trusted action template vulnerable with a merge from the upstream repository? HOT 1
- Script error - Update Check Runs HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ok-to-test.