Skip to content

Commit 6e81383

Browse files
committed
Refactor CI for forked repositories - Fix
1 parent a07b4f7 commit 6e81383

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

.github/actions/reports-group/attach-check-run-to-triggering-workflow-action/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/reports-group/attach-check-run-to-triggering-workflow-action/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/reports-group/fetch-workflow-metadata-action/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/reports-group/fetch-workflow-metadata-action/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/reports-group/node-gha-helpers/src/current-workflow-context.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,9 @@ export const getBranch = () => {
6363
}
6464

6565
// In case ref is not a branch (e.g. a tag), fallback to repository default branch
66-
return ghaEvent.ref.startsWith('refs/heads') ? ghaEvent.ref.replace('refs/heads/', '') : ghaEvent.repository.default_branch;
66+
return ghaContext.ref.startsWith('refs/heads') ? ghaContext.ref.replace('refs/heads/', '') : ghaEvent.repository.default_branch;
6767
};
6868

69-
7069
/**
7170
* @return {boolean}
7271
*/

0 commit comments

Comments
 (0)