mirror of
https://github.com/taixingyiji/openit.git
synced 2026-10-20 09:27:41 +00:00
Update Reuse.yaml
This commit is contained in:
1 parent
5244fa001a
commit
00bcf94017
1 file changed
+3
-3
@@ -1,12 +1,12 @@
|
||||
|
||||
name: Reuse
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'url'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
bf-job:
|
||||
re-job:
|
||||
name: Reuse
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
run: |
|
||||
git config --local user.name "GitHub Actions"
|
||||
git config --local user.email "actions@github.com"
|
||||
- name: pool
|
||||
- name: pool.yaml
|
||||
run: | #sed -n '/:\/\//p' bot >> ./openit/url #提取bot文本中符合行中有://字符的行追加到url文本结尾
|
||||
sed -i 's/^[ \t]*//g' url #删除行头空格和tab,对齐行头
|
||||
sed -i '/^sub:/d' url #删除以sub:开头的行
|
||||
|
||||
Reference in new issue
Block a user