🤪防止工作流因超时失效
This commit is contained in:
18
.github/workflows/friend_circle_lite.yml
vendored
18
.github/workflows/friend_circle_lite.yml
vendored
@@ -64,7 +64,7 @@ jobs:
|
||||
- name: Commit changes
|
||||
run: |
|
||||
mkdir pages
|
||||
cp -r main index.html all.json errors.json pages/
|
||||
cp -r main ./static/index.html ./static/readme.md all.json errors.json pages/
|
||||
cd pages
|
||||
git init
|
||||
git add .
|
||||
@@ -75,4 +75,18 @@ jobs:
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
retain_days: 30
|
||||
keep_minimum_runs: 6
|
||||
keep_minimum_runs: 6
|
||||
|
||||
keepalive-workflow:
|
||||
name: Keepalive Workflow
|
||||
if: ${{ always() }}
|
||||
needs: friend-circle-lite
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: gautamkrishnar/keepalive-workflow@v2
|
||||
with:
|
||||
committer_username: "github-actions[bot]"
|
||||
committer_email: "github-actions[bot]@users.noreply.github.com"
|
||||
Reference in New Issue
Block a user