Git diff analysis - Understanding changes in your codebase

Git diff analysis - Understanding changes in your codebase

Overview

This commit adds a new job named "blog-generation-job" to the ".github/workflows/commit-blog-generator.yml" workflow. This job uses the "srajansohani/commit-blog-generator@v0.10" action to automatically generate blog posts based on commit messages. The job is triggered on every push event.

Additionally, a new workflow named "hello.yml" is added. This workflow contains a single job named "hello_world_job", which uses the "actions/hello-world-javascript-action@e76147da8e5c81eaf017dede5645551d4b94427b" action to print a greeting message. The job is triggered on both push and pull request events.

File wise changes made

.github/workflows/commit-blog-generator.yml

  • The workflow will be triggered on every push.

  • Blog domain variable can now be passed from the outside by the means of an environment variable.

.github/workflows/hello.yml

  • The workflow will be triggered on every push or pull request.

  • A new step was added to print the output time from the previous step.

Summary

  • A workflow to automatically generate blog posts from commits was added to .github/workflows/commit-blog-generator.yml.
  • A new workflow named "A job to say hello" was added to .github/workflows/hello.yml, which uses an action to greet "Srajan" and outputs the current time.