summaryrefslogtreecommitdiff
path: root/source/features/next-scheduled-github-action.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/next-scheduled-github-action.tsx')
-rw-r--r--source/features/next-scheduled-github-action.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/next-scheduled-github-action.tsx b/source/features/next-scheduled-github-action.tsx
index 30dbbb20..c7f50bce 100644
--- a/source/features/next-scheduled-github-action.tsx
+++ b/source/features/next-scheduled-github-action.tsx
@@ -7,11 +7,11 @@ import * as pageDetect from 'github-url-detection';
import features from '.';
import * as api from '../github-helpers/api';
-import {getRepoGQL, getRepo} from '../github-helpers';
+import {getRepo} from '../github-helpers';
const getScheduledWorkflows = cache.function(async (): Promise<Record<string, string> | false> => {
const {repository: {object: {entries: workflows}}} = await api.v4(`
- repository(${getRepoGQL()}) {
+ repository() {
object(expression: "HEAD:.github/workflows") {
... on Tree {
entries {