RUVIDEO
Поделитесь видео 🙏

Create a Custom GitHub Action

GitHub Actions are a powerful tool to automate your workflow. They can be used to run tests, deploy your code, publish a package, and much more.

The cool thing is, there's a GitHub Actions Marketplace where you can find a lot of actions created by... the community. But what if you can't find the action you need? You can create your own and publish it there!

During this course, we'll create an action with Typescript that will add a label to new pull requests automatically.

In this tutorial, we're going to see in detail how to:
- Create a GitHub Action in Typescript
- Expand our Action to support custom inputs
- Integrate with GitHub's API to add labels to Pull Requests
- Unit testing our action
- Debugging in Visual Studio Code
- Publishing our action to the GitHub Marketplace
- Using our action in another repository
- Some final touches to make our project more robust

USEFUL RESOURCES
Action repo: https://github.com/Balastrong/ga-label-issue
Article: https://leonardomontini.dev/typescript-github-action/
Run Actions Locally with act: https://youtu.be/Ugonll0e2Os
Trigger Actions Manually: https://youtu.be/KGfncu595pc
Git Aliases: https://youtu.be/Uk4GnYoQx_I

_______________________________
Hit like and subscribe for more content! :D
Join the Discord community! Here's the invite: https://discord.gg/bqwyEa6We6

You can also follow me on the other platforms:
Twitter: https://twitter.com/Balastrong
dev.to: https://dev.to/balastrong
Home: https://leonardomontini.dev/
TikTok: https://www.tiktok.com/@balastrong
GitHub: https://github.com/Balastrong
Instagram: https://www.instagram.com/devbalastrong/
_______________________________
TIMESTAMPS
00:00 Summary
01:36 Building Blocks
04:42 Running the Action
07:43 Read custom inputs
08:27 Interact with GitHub API
15:25 GITHUB_TOKEN incident
15:56 Unit test your Action
19:27 Debug on Visual Studio Code
21:57 Publish on GitHub Marketplace
24:50 Use your Action on other repositories
25:55 Final touches to make it more robust
29:42 Closing remarks
_______________________________
Sound effects from https://www.zapsplat.com

#github #githubactions #tutorial

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Create a Custom GitHub Action», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.