Comments (4)
It looks like an act run error, let me check where is wrong.
from actionsflow.
Hey, @MarcMogdanz , it looks like the built workflow.yml (when the first time fetch multiple feeds) is too large for act, you can change your hn.yml
to this:
on:
rss:
url:
# HN posts with over 500 points
- https://hnrss.org/newest?points=500
# Show HN posts with over 100 points
- https://hnrss.org/show?points=100
#
#
#
# Dev blog to an interesting upcoming german Minecraft server
- https://blog.playlegend.net/rss
# test
- https://dev.to/feed/tag/javascript
config:
filterOutputs:
title: 1
link: 1
format: |
// extract hostname from full url
item.hostname = new URL(item.link).hostname
return item;
jobs:
notify:
name: Send notifications
runs-on: ubuntu-latest
steps:
# Used for debugging
- name: Print to console
env:
title: ${{ on.rss.outputs.title }}
link: ${{ on.rss.outputs.link }}
hostname: ${{ on.rss.outputs.hostname }}
run: |
echo title: $title
echo link: $link
echo hostname: $hostname
- name: Slack notification
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_RSS }}
uses: Ilshidur/[email protected]
with:
args: |
*${{ on.rss.outputs.title }}* (`${{ on.rss.outputs.hostname }}`)
${{ on.rss.outputs.link }}
Use on.<trigger>.config.filterOutputs
to reduce the built yml size.
Or, you can set skipFirst: true
to avoid the first time large outputs.
I have already try this config, it works fine. I'll add a doc to note people to avoid big outputs.
You may need to reset the actionsflow cache to rerun the first time feed fetching.
from actionsflow.
I'll close this issue for now, let me know if you have any problem
from actionsflow.
Thanks again for the fast response! Works like a charm now.
from actionsflow.
Related Issues (20)
- Create a Video Tutorial HOT 2
- Slack link in docs is a dead link. HOT 1
- step id can not end with "on" HOT 1
- Slack invite link incorrect HOT 1
- Should formatting run before `getItemKey`? HOT 3
- Compatibility layer for Pipedream HOT 1
- Heroku HOT 1
- Cached when failed. HOT 1
- Need a community HOT 2
- Does Current Email Trigger supports Oauth2 Authentication HOT 1
- in_progress count check is zero breaks the actionflow HOT 5
- Example doesn't start chromium with puppeteer in docker HOT 16
- Change the Port HOT 1
- Webhook Worker May Log GH Personal Access Key HOT 3
- Run act step in GitHub action gives an error HOT 2
- Webhook triggered on every scheduled run on a self-hosted instance HOT 4
- Can't separate key from value HOT 2
- reference more awesome github actions list HOT 1
- Node version of runner on self-hosted Docker install HOT 1
- Docker Compose HOT 1
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 actionsflow.