Comments (8)
@ibakshay You can use
jobs:
triage:
runs-on: ubuntu-latest
steps:
if: github.event.action == 'closed' || github.event.action == 'opened'
from toolkit.
I was told that this is the syntax you'd use to do this, but I haven't tried it myself yet.
on:
pull_request:
types: [labeled, assigned]
from toolkit.
Hi @xt0rted, Thank you for your quick response. I just checked, and unfortunately, this extra flag types
is not triggering the workflow.
I managed to add checks when consuming GitHub APIs, But it would be really nice If this flag types
works :).
from toolkit.
@estrada9166, Thank you very much 💯 .
And just one more thing, I believe the issue_comment event will be triggered for both issues
and pull_request
comments.
If I want to trigger a workflow based on issue_comment event only for the pull_request
comments but not for the issues
comments, then how should I configure the workflow
file ?.
from toolkit.
I just checked, and unfortunately, this extra flag types is not triggering the workflow.
@ibakshay The types
filter should still be working (I've just tested it). Can you point me to workflow where they don't seem to be working?
from toolkit.
I'm going to close this issue since it's not directly related to the Toolkit itself (but rather the workflow configuration syntax), but feel free to reply to me here anyway, @ibakshay.
from toolkit.
Hi @jclem, here is the workflow file https://github.com/ibakshay/Wireless-Weather-Station-/blob/master/.github/workflows/issue_created.yml which I was testing and types
filter doesn't seem to work for me.
from toolkit.
@ibakshay What event types were workflow runs happening on that weren't opened
and closed
? Just trying to get a clear understanding of exactly what's happening that's not supposed to.
from toolkit.
Related Issues (20)
- Tracking
- @actions/artefacts weighs 100mb. this cant be right
- Bug: `context.job` fails to take into account `jobs.<job_id>.name` value HOT 2
- https://www.facebook.com/nara.istri.jisung
- `continue-on-error` should not return `success` in ` needs_job_result`
- Make uploadZipToBlobStorage() log raw and compressed sizes ?
- Annotations using environment files
- amin HOT 1
- npm i @actions/glob
- Bug
- Spacextool
- @actions/cache tar doesn't specify --xattrs
- @actions/github hasn't been published in 8 months
- Support storing and restoring cache entries as buffers. HOT 1
- mkdir service-selling-app cd service-selling-app HOT 1
- mkdir service-selling-app
- @actions/core: Add support for full width tables and column width
- BornNk
- Plan for transition to ESM?
- actions/exec: Allow timeout on running a process
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 toolkit.