We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a65f106 commit 78d69cdCopy full SHA for 78d69cd
1 file changed
lib/github-actions/index.js
@@ -7,6 +7,10 @@ exports.detect = async (meta) => {
7
const files = await meta.loadFolder('.github/workflows');
8
const rawSet = new Set();
9
10
+ if (!files.length) {
11
+ return;
12
+ }
13
+
14
for (const file of files) {
15
16
if (!file.endsWith('.yaml') && !file.endsWith('.yml')) {
@@ -51,10 +55,6 @@ exports.detect = async (meta) => {
51
55
52
56
const raw = [...rawSet];
53
57
54
- if (!raw.length) {
- return '';
- }
-
58
const resolved = {};
59
60
for (const version of raw) {
0 commit comments