Skip to content

Commit

Permalink
feat: update PR title to reference tracker ID
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Sep 14, 2023
1 parent 68da58e commit 79b3916
Show file tree
Hide file tree
Showing 9 changed files with 118 additions and 4 deletions.
4 changes: 3 additions & 1 deletion dist/action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/util.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions dist/util.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/util.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
raise,
removeLabel,
setLabels,
setTitle,
} from './util';

async function action(
Expand Down Expand Up @@ -99,6 +100,15 @@ async function action(
);
}

const titleResult = await setTitle(
octokit,
owner,
repo,
prMetadata.number,
tracker
);
debug(`🔤 ${titleResult}`);

const isMatchingProduct = trackerController.adapter.isMatchingProduct(
config.products
);
Expand Down
Loading

0 comments on commit 79b3916

Please sign in to comment.