When configuring a webhook for a GitHub repository—specifically for the workflow_job event—it can be challenging to determine whether a given delivery corresponds to a rejected workflow job.Rejected jobs refer to those that were not approved by a required reviewer, typically for deployments targeting a protected environment. To identify a rejected job, let’s examine a delivery […]
Simplifying GitHub API Queries with the actions/github-script Action
I faced the challenge of making complex queries to the GitHub API. Initially, I started with a bash script, as it’s often the simplest solution for many of my use cases. However, after reviewing the documentation, I discovered an official action designed specifically for interacting with the GitHub API. Upon further exploration, I realized that […]
Automatically update major version tags with new releases on GitHub
This GitHub Action workflow is designed to run whenever a new release is published in your GitHub repository. To enhance flexibility, the workflow_dispatch event is included, allowing manual trigger of the workflow for rollbacks or other administrative tasks. The workflow performs the following actions: Events triggering the workflow As previously mentioned, this workflow is designed […]