Comments (1)
Breaking our workflow
Before we continue we are going to need to do a few things. First and foremost our workflow is currently setup to run each time there is a push
event to this repository. Let's comment out our current workflow to prevent things from running but preserve the things you've worked on up to this point.
⌨️ Activity: Setting up the next action
- Edit your workflow file by commenting out every single line. (To comment in
.yml
, add a#
symbol to the beginning of every line).# name: JS Actions # on: [push] # jobs: # action: # runs-on: ubuntu-latest # steps: # - uses: actions/checkout@v1 # - name: hello-action # uses: ./.github/actions/hello-world
- Commit the changes to a new branch, you can name it
action-two
. - Create a pull request named External APIs
- Supply the pull request with body content. Remember, this area can be used a notes later.
- Click
Create pull request
.
You will still see the workflow trying to execute with every push if you look at the Actions tab, however it will seem as though it fails. This is because there is a workflow file in the .github/workflows
directory. The failure isn't actually a failure either, if you expand it you will see that there is simple no triggers for that given workflow and therefore it doesn't run. I have placed a screenshot below so you can become familiar with what this error looks like without the need to go to your Actions tab.
Like our first action, I'll respond in the new pull request when I detect it has been opened.
from writing-javascript-actions.
Related Issues (8)
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 writing-javascript-actions.