forked from BurtonQin/Awesome-Rust-Checker
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (21 loc) · 845 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: (Preview) Update last commit time
on: push
jobs:
update-preview:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v4
- name: Run update.py
run: python3 update_time.py && ls -alh && diff README.md test.md --color=always || mv test.md README.md
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: README.md
commit-message: "[bot] Update last commit time in README.md"
author: BurtonQin+github-actions[bot]@users.noreply.github.com
delete-branch: true
branch: update-commit-time-preview
title: '[bot] Update last commit time in README.md'
body: Some checkers recently are updated in their repo activies.