Skip to content

Commit 89c9448

Browse files
authored
fix: make sure own repo is ignored during bumping (derberg#11)
1 parent 43ccf48 commit 89c9448

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11450,6 +11450,7 @@ async function run() {
1145011450
const octokit = github.getOctokit(gitHubKey);
1145111451
const ignoredRepositories = reposToIgnore ? parseCommaList(reposToIgnore) : [];
1145211452
//by default repo where workflow runs should always be ignored
11453+
ignoredRepositories.push(repo);
1145311454
let reposList;
1145411455

1145511456
try {

lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ async function run() {
2929
const octokit = github.getOctokit(gitHubKey);
3030
const ignoredRepositories = reposToIgnore ? parseCommaList(reposToIgnore) : [];
3131
//by default repo where workflow runs should always be ignored
32+
ignoredRepositories.push(repo);
3233
let reposList;
3334

3435
try {

0 commit comments

Comments
 (0)