simonesavi / write-github-script Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://lab.github.com/githubtraining/github-actions:-using-github-script
License: MIT License
Home Page: https://lab.github.com/githubtraining/github-actions:-using-github-script
License: MIT License
Hello @simonesavi, I'm so excited to teach you how to use GitHub Script in your workflows ๐
GitHub Script is a really awesome action that allows you to quickly interact with the GitHub API directly in your workflow!
This allows you to use the workflow context to script any API usage that is available through the octokit/rest.js library without the need to build a bulky custom action to do so.
๐ See octokit/rest.js for the API client documentation.
Let's take a closer look at how this action compares to Octokit.
Problem body
Now that your updates have been merged and we've triggered the workflow we should see our workflow begin helping us automate the triage of new issues.
Try the following troubleshooting steps:
If you need to make changes to your code, remove the main branch protection and merge your changes into the main
branch.
I'll respond once your workflow has completed!
Super awesome job so far!
Do you remember what our workflow trigger was?
on:
issues:
types: [opened]
This means that every time an issue gets opened in this repository the GitHub Script you wrote will execute.
You should expect to see the result right here in this issue!
Try the following troubleshooting steps:
If you need to make changes to your code, remove the main branch protection and merge your changes into the main
branch.
I'll respond in this issue after your workflow runs!
Like before, now we have to wait for the workflow to run so that we can see the results.
Try the following troubleshooting steps:
If you need to make changes to your code, remove the main branch protection and merge your changes into the main
branch.
I'll respond here once it has completed!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.