8000 chore: upgrade github actions · lhzctf/advanced-java@8a3b12b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8a3b12b

Browse files
committed
chore: upgrade github actions
1 parent 72c825a commit 8a3b12b

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

.github/workflows/branch-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Merge Branch
22

33
on:
44
push:
5-
branches: [ imgbot ]
5+
branches: [imgbot]
66

77
jobs:
88
merge-branch:
@@ -15,4 +15,4 @@ jobs:
1515
github_token: ${{ github.token }}
1616
source_ref: ${{ github.ref }}
1717
target_branch: main
18-
commit_message_template: '[Automated] Merged {source_ref} into {target_branch}'
18+
commit_message_template: "[Automated] Merged {source_ref} into {target_branch}"

.github/workflows/prettier.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@ name: Prettier
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66

77
jobs:
88
prettier:
99
runs-on: ubuntu-latest
1010
if: github.repository == 'doocs/advanced-java'
1111
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
14-
with:
15-
ref: ${{ github.head_ref }}
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
with:
15+
ref: ${{ github.head_ref }}
1616

17-
- name: Prettify
18-
uses: creyD/prettier_action@v3.3
19-
with:
20-
prettier_options: --write **/*.{md}
21-
commit_message: 'style: prettify code or document'
22-
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
- name: Prettify
18+
uses: creyD/prettier_action@v3.3
19+
with:
20+
prettier_options: --write **/*.{md}
21+
commit_message: "style: prettify code or document"
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/rebase.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Automatic Rebase
22

3-
on:
3+
on:
44
issue_comment:
55
types: [created]
66

@@ -10,11 +10,11 @@ jobs:
1010
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Checkout the latest code
14-
uses: actions/checkout@v2
15-
with:
16-
fetch-depth: 0
17-
- name: Automatic Rebase
18-
uses: cirrus-actions/rebase@1.4
19-
env:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
- name: Checkout the latest code
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
- name: Automatic Rebase
18+
uses: cirrus-actions/rebase@1.4
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Sync
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66

77
jobs:
88
build:

0 commit comments

Comments
 (0)
0