Unable to launch the workflow from an autogenerated hello world workflow yaml file
See original GitHub issueDescription Hi, I’m trying to launch a workflow from a private github repository without success but I got a message "Workflow run was successfully requested. " It seems very strange. Maybe a bug ?
To Reproduce Steps to reproduce the behavior:
- Create an existing valid workflow file in yaml from your computer inside a .github/workflows created by mkdir -p.
- Go to action page from the repository. Then click on
New workflow
button. - On
Choose of wokflow
page, click on the linkset up a workflow yourself
. It generates the following yaml file.
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
- Give an available name for this file, then click on
Start commit
and choose theCommit directly to the main branch.
option andCommint new file
. - Go on
Action
page, Click onCI
workflow, then click onRun workflow
withUse workflow from
main branch. You will have the message "Workflow run was successfully requested. "
Expected behavior
I expect to see the workflow running, but I have a page with the message This workflow has no runs yet.
.
Runner Version and Platform
I use free pricing plan for a private repository.
OS ubuntu-latest
What’s not working?
I cannot trigger the workflow.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:10
Top Results From Across the Web
Workflow is not shown so I cannot run it manually (Github ...
I created the workflow Test but there is no Run workflow button to run it manually. ... This is my test.yml file. Is...
Read more >7 Github Actions Tricks I Wish I Knew Before I Started
In the image we can see the “Run workflow” option (top-right). It opens a menu that allows us to add the input we've...
Read more >Implement a "Hello World" GitHub Action on your self-hosted ...
A quick “Hello World” example to get started with workflow automation using GitHub Actions running tasks on your local Windows machines.
Read more >Github Actions— Everything You Need to Know to Get ...
A job is a series of tasks that gets executed in a workflow upon being triggered by an event. Each step is either...
Read more >4. Working with Workflows - Learning GitHub Actions [Book]
I've covered a number of the basics for understanding workflows. But you also need to be able to easily create, run, and monitor...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Tooday, coming back to my actions, some dark magic make them work again.
@ruvceskistefan @moonipulate 8 hours I facing the same issue now, sudenly my 1month old jobs wasn’t trigered on my Organization private repo. Primary I tried to resolve issue in my yml file, but then I tried autogenerated one and it doesn’t work too.
Working if
Don’t fix if