github-script
gh-action-terminal
Our great sponsors
github-script | gh-action-terminal | |
---|---|---|
11 | 1 | |
3,924 | 1 | |
2.2% | - | |
6.8 | 0.0 | |
25 days ago | over 3 years ago | |
TypeScript | Shell | |
MIT License | Apache License 2.0 |
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!
gh-action-terminal
-
Run arbitrary commands via a comment and commit the changes
DISCLAIMER: the Run terminal command GitHub Action allows for arbtrary code execution by any user allowed to comment on your issues or pull requests. You should probably never use this except to explore what GitHub Actions could do.
What are some alternatives?
dependabot-core - 🤖 Dependabot's core logic for creating update PR's.
checkout - Action for checking out a repo
devhub - TweetDeck for GitHub - Filter Issues, Activities & Notifications - Web, Mobile & Desktop with 99% code sharing between them
take-action - This is an action to assign yourself to an issue for a repo you are not a contributor to.
toolkit - The GitHub ToolKit for developing GitHub Actions.
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.
Workflows - Reusable workflows
WebTechnologies_PasswordSecurity - WT Project 2018-19 on the topic - Password Security
setup-terraform - Sets up Terraform CLI in your GitHub Actions workflow.
rust-cache - A GitHub Action that implements smart caching for rust/cargo projects