Skip to content

Add workflow to label issues as "In progress" on branch creation#23

Merged
OGR-67 merged 1 commit into
devfrom
22-ci-make-issue-in-progress-on-branch-creation
Mar 18, 2026
Merged

Add workflow to label issues as "In progress" on branch creation#23
OGR-67 merged 1 commit into
devfrom
22-ci-make-issue-in-progress-on-branch-creation

Conversation

@OGR-67

@OGR-67 OGR-67 commented Mar 18, 2026

Copy link
Copy Markdown
Owner

Description

Closes

closes #22

Copilot AI review requested due to automatic review settings March 18, 2026 20:07
@OGR-67 OGR-67 merged commit b21b720 into dev Mar 18, 2026
3 checks passed
@OGR-67 OGR-67 deleted the 22-ci-make-issue-in-progress-on-branch-creation branch March 18, 2026 20:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a GitHub Actions workflow that automatically applies an “In progress” label to an issue when a branch is created, supporting issue tracking automation requested in #22.

Changes:

  • Introduces a create-event workflow that parses an issue number from the branch name prefix.
  • Applies the In progress label to the referenced issue via actions/github-script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +15 to +17
const branch = context.ref.replace('refs/heads/', '');
const match = branch.match(/^(\d+)-/);
if (!match) return;
const match = branch.match(/^(\d+)-/);
if (!match) return;

const issueNumber = parseInt(match[1]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants