mirror of
https://github.com/kenzok8/small-package
synced 2025-01-09 08:59:26 +08:00
update
This commit is contained in:
parent
d3601d96a1
commit
5c42cdf8ee
16
.github/workflows/wall.yml
vendored
16
.github/workflows/wall.yml
vendored
@ -14,7 +14,15 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
if: github.event.repository.owner.id == github.event.sender.id || ! github.event.sender.id
|
||||
runs-on: Ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Delete workflow runs
|
||||
uses: Mattraks/delete-workflow-runs@main
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 1
|
||||
keep_minimum_runs: 0
|
||||
|
||||
name: Update ${{matrix.target}}
|
||||
strategy:
|
||||
@ -54,9 +62,3 @@ jobs:
|
||||
git add .
|
||||
git commit -am "update $(date +%Y-%m-%d" "%H:%M:%S)"
|
||||
git push --quiet "https://${{ secrets.ACCESS_TOKEN }}@github.com/kenzok8/small-package.git" HEAD:${{matrix.target}}
|
||||
|
||||
- name: Delete workflow runs
|
||||
uses: Mattraks/delete-workflow-runs@main
|
||||
with:
|
||||
retain_days: 1
|
||||
keep_minimum_runs: 1
|
||||
|
Loading…
Reference in New Issue
Block a user