Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Backports

# This workflow generates "backport" issues when a release branch label is added to an issue
on:
issues:
types: [labeled] # triggered when any label is added to an issue
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/issue-comment-triage.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/main-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: MainIssue
# This workflow generates a "main" issue when a PR is created targeting main.
on:
pull_request:
branches:
- main

jobs:
generate-issue:
name: 'Create Main Issue'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
const repo = context.repo.repo;
const owner = context.repo.owner;
const pr = context.payload.pull_request;

// Create the main issue
const newIssue = await github.rest.issues.create({
owner: owner,
repo: repo,
title: pr.title,
body: "This is the main issue tracking #" + pr.number + "\n\n" +
"Please add labels indicating the release versions eg. 'version/v0'\n" +
"Please add comments for user issues which this issue addresses. \n" +
"Description copied from PR: \n" + pr.body,
labels: ['internal/main']
});
Loading