Skip to content

Commit bd013bb

Browse files
authored
Update update-pr-status.yml
1 parent e474f98 commit bd013bb

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/update-pr-status.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
workflow_dispatch:
77

88
permissions:
9-
issues: write # ⚠️ 允许更新 issue(关闭、改 body、删 label)
10-
contents: read # 仍然不能写仓库
9+
issues: write
10+
contents: read
1111

1212
jobs:
1313
update-status:
@@ -119,6 +119,7 @@ jobs:
119119
name: 'claimed'
120120
});
121121
} catch (e) {}
122+
122123
}
123124
124125
} else {
@@ -137,7 +138,7 @@ jobs:
137138
const newCsv = [header, ...updatedRows].join('\n');
138139
fs.writeFileSync('tasks.csv', newCsv);
139140
140-
- name: Show CSV (Debug)
141+
- name: Show CSV
141142
run: cat tasks.csv
142143

143144
- name: Upload CSV artifact
@@ -146,5 +147,5 @@ jobs:
146147
name: tasks-csv-status
147148
path: tasks.csv
148149

149-
- name: Skip push
150-
run: echo "Read-only mode: CSV saved as artifact"
150+
- name: Done
151+
run: echo "Read-only mode, CSV uploaded as artifact"

0 commit comments

Comments
 (0)