Skip to content

Conversation

@FidelusAleksander
Copy link
Contributor

@FidelusAleksander FidelusAleksander commented Apr 30, 2025

Changes

The main objective of the workflows is to create/close the exercise issue. Updating the README is a feature that, we - in GitHub Skills will use (almost) in all exercises.

Checklist

  • I have added or updated appropriate labels to this PR
  • I have tested my changes
  • I have updated the documentation if needed

Copilot AI review requested due to automatic review settings April 30, 2025 06:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a feature flag to control whether the README is updated during exercise start and finish workflows. The changes include:

  • Adding a new boolean input "update-readme" to both workflows.
  • Conditionally executing the "Update README" jobs based on the "update-readme" input.
  • Updating quotes in the workflow YAML for consistency.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/start-exercise.yml Added the "update-readme" input and a conditional check for the "Update README" job.
.github/workflows/finish-exercise.yml Added the "update-readme" input and a conditional check for the "Update README with congratulations" job.

@github-actions github-actions bot added the workflows Changes to reusable workflows label Apr 30, 2025
@FidelusAleksander FidelusAleksander changed the title feat: add update-readme feature flags to start-exercise and finish-exercise workflows feat: add update-readme feature flags to start-exercise and finish-exercise workflows Apr 30, 2025
@chriswblake chriswblake changed the title feat: add update-readme feature flags to start-exercise and finish-exercise workflows feat: add update-readme-with-congratulations feature flag tofinish-exercise workflow May 1, 2025
@chriswblake chriswblake merged commit 57ecd96 into main May 1, 2025
6 checks passed
@chriswblake chriswblake deleted the update-readme-feature-flags branch May 1, 2025 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

workflows Changes to reusable workflows

Development

Successfully merging this pull request may close these issues.

3 participants