Comments (6)
Hi @peter-evans
Thank you for the quick response. The self-hosted work 100% and manually tested using the 'workflow_dispatch'.
I removed it from yml file since as I wanted a single point of entry (this may have been the root cause for triggered twice).
I applied your suggestions: I used 'ubuntu-latest' for both yml files (caller and callee).
The twice triggering is not longer there. But the issue still remains about callee workflow hangs.
Requested labels: EC2AMAZ-EVN2U58
Job defined at: _company_/EarthSlide/.github/workflows/reusable_workflow.yml@refs/heads/master
Waiting for a runner to pick up this job...
from repository-dispatch.
I figured out what was wrong, another yml file workflow had "repository_dispatch:" without any guard condition. Hence it was triggering two workflows (with guard condition as expected and without).
It works flawlessly now. Thank you.
Regards
from repository-dispatch.
Hi @LaithDaman
I had a look at the attached text file. It looks like you are using self-hosted Actions runners, so that might be related to the problem. Please check that the runners are setup correctly and they can reach GitHub's API. It might be a good idea to test your setup with hosted runners first, to check it works before trying to use your own runners.
I don't see anything obvious as to why it would trigger twice.
from repository-dispatch.
Sounds like the double triggering is fixed. 👍
Waiting for a runner to pick up this job...
This is nothing to do with this action. This is suggesting that it's waiting for a runner to pick up the job. It's an issue to do with self-hosting.
from repository-dispatch.
Hi @peter-evans
As I mentioned earlier; I have updated the code to run on 'Ubuntu-latest' and it is not using self-hosting. Both files changed from Self-Hosting to 'Ubuntu-latest' as you have suggested. Maybe I did not clearly understand what you mean then.
runs-on: ubuntu-latest # [ EARTHSLIDE_LAITHD_LOCAL ]
Do I take it that 'peter-evans/repository-dispatch' does not work or is not tested on self-hosted machines? The problem of this lib triggering two workflows using self-hosted is still an issue.
from repository-dispatch.
Do I take it that 'peter-evans/repository-dispatch' does not work or is not tested on self-hosted machines?
No, I think it should run on self-hosted machines just fine. There are thousands of users using this action and I would be very surprised if none of them are using self-hosted.
My point was, if you are seeing this message Waiting for a runner to pick up this job..
it means that GitHub actions is waiting for a self-hosted machine to pick up the job. So perhaps you didn't properly switch to GitHub hosted for your test. This message has absolutely nothing to do with this action, it's generated by GitHub's platform because it can't find a runner to execute the job.
from repository-dispatch.
Related Issues (20)
- Using yaml as client-payload HOT 1
- Unexpected token ' in JSON at position 0 | Multiline client_payload HOT 5
- fine-grained personal access tokens HOT 2
- Workflows not triggering when there are multiple repositories HOT 2
- Hot To Get Json From Sender to Receiver HOT 2
- Error: Resource not accessible by integration HOT 3
- Getting error (Invalid request)
- Error when using fine-grained PAT HOT 10
- Deprecated warning when using latest version HOT 1
- how can i trigger a workflow in repo1 whenever there is commit in my other repo2 and repo3
- payload output HOT 1
- Deprecation: [@octokit/request-error] `error.code` is deprecated, use `error.status`. HOT 2
- SyntaxError: Unexpected token HOT 1
- Question: Wait and Get Workflow Output HOT 8
- Resource not accessible by integration when using GitHub App HOT 4
- Multiple event-type values in the receiving job? HOT 2
- Payload parameter HOT 1
- Usage in GitHub organizations HOT 2
- Everything good
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 repository-dispatch.