-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 920 Bytes
/
ci.yml
File metadata and controls
28 lines (24 loc) · 920 Bytes
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
26
27
28
name: (Preview) Update last commit time
on: push
jobs:
update-preview:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
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.CHECKER_PAT }}
add-paths: README.md
commit-message: "[bot] Update last commit time in README.md"
author: action-bot <BurtonQin+github-actions[bot]@users.noreply.github.com>
delete-branch: true
branch: update-commit-time-preview
base: master
title: '[bot] Update last commit time in README.md'
body: Some checkers recently are updated in their repo activies.