github-script
core.js
Our great sponsors
github-script | core.js | |
---|---|---|
11 | 4 | |
3,924 | 1,144 | |
2.2% | 1.2% | |
6.8 | 8.3 | |
20 days ago | 5 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
github-script
-
Github Actions - Output
It's also possible to use output through the github-script action.
-
How to Terraform with Comments (And You Can DIY!*)
I wrote a custom script to parse PR comments as input commands to interface with Terraform CLI, returning the output as bot comments. Each step of the workflow relies on GitHub Actions, including actions/github-script to interact with GitHub's API (while brushing up on my JavaScript!).
-
actions-rs Github Actions need more maintainers!!! OR to be replaced
You can generate what to annotate with a few lines of shell and then use gihub-script
-
GitHub Actions by Example
Nice idea, worth mentioning other features:
* Reusable workflows (note: matrix strategy doesn't work here): https://docs.github.com/en/actions/using-workflows/reusing-w...
* Composite actions: https://docs.github.com/en/actions/creating-actions/creating...
* Script as action: https://github.com/actions/github-script
* Using GitHub Packages and artifacts: https://docs.github.com/en/actions/publishing-packages/about...
* Using docker-compose-like services that run alongside of the container: https://docs.github.com/en/actions/using-containerized-servi...
And many, many more :)
-
Automating Data Analytics Environments
actions/github-script@v5
-
Automatically cross-publish posts from my blog to dev.to
This workflow makes use of the awesome github-script that makes working with API's a breeze!
-
Paste of screenshots on GitHub isn't working with Chrome
GitHub support hasn't been helpful so far. If you use Chrome on Linux, type xfce4-screenshooter or flameshot and grab a screenshot. Then navigate to any issue or PR, for example, https://github.com/actions/github-script/issues/187 and in the comment box at the bottom, type Ctrl-V. Either you'll see your image get uploaded or you won't. You don't need to save nor submit the comment.
-
Build GitHub Actions with a Docker Container
Note at the end of the bash, and we are leveraging a curl command to talk directly to the GitHub API. This curl command is meant for simplicity. All of this could have been done using the octokit.rest.js library or better github-script.
-
Automate your PR reviews with GitHub Action scripting in JavaScript
In this post, I am going to focus on the API and actions/github-script. This action makes it easy to quickly write a script in your workflow that uses the GitHub API and includes the workflow run context.
-
My First Github Workflow
My new github action follows a simple workflow: Whenever a user opens a pull request to the repository with the configured workflow, a comment is made on the PR with a greeting to the user and another comment with the statistics about the repository and PR are posted. Used the github-scripts (https://github.com/actions/github-script) action to get the API and context to write my own script in the workflow. It was a very fun exercise for me. Thankyou Dev Team for this cool contest!
core.js
-
Created CLI Tool that Creates/Remove GitHub Labels
View on GitHub
- [Question] What is a good design pattern for consuming REST APIs?
-
A minimal CMS for jamstack blogging
an responsive web app written in vanilla JS. It connects to your github using github's octokitjs library.
-
Automate your PR reviews with GitHub Action scripting in JavaScript
github A pre-authenticated octokit/core.js client with REST endpoints and pagination plugins
What are some alternatives?
dependabot-core - 🤖 Dependabot's core logic for creating update PR's.
eleventy 🕚⚡️ - A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
devhub - TweetDeck for GitHub - Filter Issues, Activities & Notifications - Web, Mobile & Desktop with 99% code sharing between them
toolkit - The GitHub ToolKit for developing GitHub Actions.
take-action - This is an action to assign yourself to an issue for a repo you are not a contributor to.
tokens
checkout - Action for checking out a repo
typescript-starter - Quickly create and configure a new library or Node.js project
gh-action-terminal
setup-msys2 - GitHub Action to setup MSYS2
workflows - Workflows make it easy to browse, search, execute and share commands (or a series of commands)--without needing to leave your terminal.